UNPKG

react-form-builder-devextreme

Version:

A complete form builder for react. Some changes to design

2 lines 7.94 MB
/*! For license information please see app.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("ReactFormBuilder",["react","react-dom"],t):"object"==typeof exports?exports.ReactFormBuilder=t(require("react"),require("react-dom")):e.ReactFormBuilder=t(e.React,e.ReactDOM)}(self,((e,t)=>(()=>{var n,i,o={21797:(e,t,n)=>{"use strict";n.d(t,{Ul:()=>a,OS:()=>s,b0:()=>d,rN:()=>o,DZ:()=>l,kr:()=>u,gt:()=>h,_V:()=>w,ZB:()=>_,jk:()=>E,SM:()=>C});var i=n(55285);const o={lockCount:0,lock(){this.lockCount++},callbacks:[],callEffects(){if(this.lockCount--,this.lockCount<0)throw new Error("Unexpected Effect Call");if(0===this.lockCount){const e=this.callbacks;this.callbacks=[],e.forEach((e=>e()))}}},r=(e,t)=>{if(!(e instanceof Object&&t instanceof Object))return e===t;const n=Object.keys(e),i=Object.keys(t);return n.length===i.length&&!n.some((n=>e[n]!==t[n]))};class a extends i.wA{constructor(){super(...arguments),this._pendingContext=this.context}componentWillReceiveProps(e,t){this._pendingContext=null!=t?t:{}}shouldComponentUpdate(e,t){return!r(this.props,e)||!r(this.state,t)||!r(this.context,this._pendingContext)}}class s extends a{constructor(){super(...arguments),this._effects=[]}createEffects(){return[]}updateEffects(){}componentWillMount(){o.lock()}componentWillUpdate(e,t,n){o.lock()}componentDidMount(){o.callbacks.push((()=>{this._effects=this.createEffects()})),o.callEffects()}componentDidUpdate(){o.callbacks.push((()=>this.updateEffects())),o.callEffects()}destroyEffects(){this._effects.forEach((e=>e.dispose()))}componentWillUnmount(){this.destroyEffects()}}class l extends s{constructor(){super(...arguments),this.vDomElement=null}vDomUpdateClasses(){const e=this.vDomElement,t=e.className.length?e.className.split(" "):[],n=t.filter((t=>e.dxClasses.previous.indexOf(t)<0)),i=e.dxClasses.previous.filter((e=>t.indexOf(e)<0));n.forEach((t=>{const n=e.dxClasses.removed.indexOf(t);n>-1?e.dxClasses.removed.splice(n,1):e.dxClasses.added.push(t)})),i.forEach((t=>{const n=e.dxClasses.added.indexOf(t);n>-1?e.dxClasses.added.splice(n,1):e.dxClasses.removed.push(t)}))}componentDidMount(){const e=(0,i.lN)(this.$LI,!0);this.vDomElement=e,super.componentDidMount(),e.dxClasses=e.dxClasses||{removed:[],added:[],previous:[]},e.dxClasses.previous=(null==e?void 0:e.className.length)?e.className.split(" "):[]}componentDidUpdate(){super.componentDidUpdate();const e=this.vDomElement;null!==e&&(e.dxClasses.added.forEach((t=>e.classList.add(t))),e.dxClasses.removed.forEach((t=>e.classList.remove(t))),e.dxClasses.previous=e.className.length?e.className.split(" "):[])}shouldComponentUpdate(e,t){const n=super.shouldComponentUpdate(e,t);return n&&this.vDomUpdateClasses(),n}}let c=0;const u=function(e){const t=c++;return{id:t,defaultValue:e,Provider:class extends i.wA{getChildContext(){return Object.assign(Object.assign({},this.context),{[t]:this.props.value||e})}render(){return this.props.children}}}};class d{constructor(e,t){this.dependency=t,this.effect=e,this.destroy=e()}update(e){const t=this.dependency;e&&(this.dependency=e),e&&!e.some(((e,n)=>t[n]!==e))||(this.dispose(),this.destroy=this.effect())}dispose(){this.destroy&&this.destroy()}}const h=()=>new d((()=>{(0,i.k4)()}),[]),p="a runtime error occured! Use Inferno in development environment to find the error.";function f(e){return null===e}function g(e,t,n,o,r,a){const s=e.childFlags,l=e.children,c=e.props,u=e.flags;if(1!==s){if(2===s)f(n)?(0,i._M)(l,t,o,r,null,a):n=(n=v(l,t,n,o,r,a))?n.nextSibling:null;else if(16===s)f(n)?t.appendChild(document.createTextNode(l)):1!==t.childNodes.length||3!==n.nodeType?t.textContent=l:n.nodeValue!==l&&(n.nodeValue=l),n=null;else if(12&s){let e=!1;for(let s=0,c=l.length;s<c;++s){const c=l[s];f(n)||e&&(16&c.flags)>0?(0,i._M)(c,t,o,r,n,a):n=(n=v(c,t,n,o,r,a))?n.nextSibling:null,e=(16&c.flags)>0}}if(0==(8192&u)){let e=null;for(;n;)e=n.nextSibling,t.removeChild(n),n=e}}else f(t.firstChild)||function(e,t){return Boolean(t&&t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html&&function(e,t){const n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(e,t.dangerouslySetInnerHTML.__html))}(t,c)||(t.textContent="",448&u&&(t.defaultValue=""))}function m(e,t,n){if(3!==n.nodeType)t.replaceChild(e.dom=document.createTextNode(e.children),n);else{const t=e.children;n.nodeValue!==t&&(n.nodeValue=t),e.dom=n}return e.dom}function v(e,t,n,o,r,a){const s=e.flags|=16384;return 14&s?function(e,t,n,o,r,a,s){const l=e.type,c=e.ref,u=e.props||i.kT;let d;if(a){const a=(0,i.NK)(e,l,u,o,r,s);d=v(a.$LI,t,n,a.$CX,r,s),(0,i._7)(c,a,s)}else{const a=(0,i.Cc)((0,i.F1)(e,o));d=v(a,t,n,o,r,s),e.children=a,(0,i.vc)(e,s)}return d}(e,t,n,o,r,(4&s)>0,a):481&s?function(e,t,n,o,r,a){const s=e.props,l=e.className,c=e.flags,u=e.ref;return r=r||(32&c)>0,1!==n.nodeType?((0,i._2)(e,null,o,r,null,a),t.replaceChild(e.dom,n)):(e.dom=n,g(e,n,n.firstChild,o,r,a),f(s)||(0,i.w7)(e,c,s,n,r),null==l?""!==n.className&&n.removeAttribute("class"):r?n.setAttribute("class",l):n.className=l,(0,i.j4)(u,n,a)),e.dom}(e,t,n,o,r,a):16&s?m(e,t,n):512&s?e.dom=n:8192&s?function(e,t,n,i,o,r){const a=e.children;return 2===e.childFlags?(m(a,t,n),a.dom):(g(e,t,n,i,o,r),function(e){let t,n;for(;e;){if(t=e.flags,2033&t)return e.dom;n=e.children,e=8192&t?2===e.childFlags?n:n[n.length-1]:4&t?n.$LI:n}return null}(a[a.length-1]))}(e,t,n,o,r,a):(function(e){throw e||(e=p),new Error(`Inferno Error: ${e}`)}(),null)}function _(e,t,n){let o=t.firstChild;if(f(o))(0,i.sY)(e,t,n);else{const n=[];for(null!==(r=e)&&!1!==r&&!0!==r&&void 0!==r&&(o=v(e,t,o,{},!1,n));o&&(o=o.nextSibling);)t.removeChild(o);if(n.length>0){let e;for(;void 0!==(e=n.shift());)e()}}var r;t.$V=e,function(e){return"function"==typeof e}(n)&&n()}var y=n(87456);const b=e=>{var t,n;return(null===(t=e.container)||void 0===t?void 0:t.get(0))||(null===(n=e.item)||void 0===n?void 0:n.get(0))};function C(e,t,n){setTimeout((()=>{(0,i.sY)((0,y.a)(e,t),b(t))}),0)}const w=(e,t,n)=>{const i=t[e];return!!i&&"string"!=typeof i},x=new Set(["animationIterationCount","borderImageOutset","borderImageSlice","border-imageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexNegative","flexOrder","flexPositive","flexShrink","floodOpacity","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","zIndex","zoom"]),S=e=>"number"==typeof e||!Number.isNaN(Number(e)),I=(e,t)=>x.has(e)?t:`${t}px`,k=/[A-Z]/g,T=e=>e.replace(k,"-$&").toLowerCase();function E(e){if(e instanceof Object)return Object.entries(e).reduce(((e,[t,n])=>(e[T(t)]=S(n)?I(t,n):n,e)),{})}},25687:(e,t,n)=>{"use strict";function i(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}n.d(t,{kG:()=>i})},95957:(e,t,n)=>{"use strict";function i(e,t){var n=t&&t.cache?t.cache:u,i=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:s)(e,{cache:n,serializer:i})}function o(e,t,n,i){var o,r=null==(o=i)||"number"==typeof o||"boolean"==typeof o?i:n(i),a=t.get(r);return void 0===a&&(a=e.call(this,i),t.set(r,a)),a}function r(e,t,n){var i=Array.prototype.slice.call(arguments,3),o=n(i),r=t.get(o);return void 0===r&&(r=e.apply(this,i),t.set(o,r)),r}function a(e,t,n,i,o){return n.bind(t,e,i,o)}function s(e,t){return a(e,this,1===e.length?o:r,t.cache.create(),t.serializer)}n.d(t,{A:()=>d,H:()=>i});var l=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new c}},d={variadic:function(e,t){return a(e,this,r,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},39943:(e,t,n)=>{"use strict";n.d(t,{wD:()=>o,VG:()=>l,rp:()=>u,Ii:()=>v,O4:()=>s,uf:()=>c,Wh:()=>m,Jo:()=>p,yx:()=>f,Wi:()=>h,HI:()=>g,pe:()=>d,Qc:()=>re});var i,o,r,a=n(70655);function s(e){return e.type===o.literal}function l(e){return e.type===o.argument}function c(e){return e.type===o.number}function u(e){return e.type===o.date}function d(e){return e.type===o.time}function h(e){return e.type===o.select}function p(e){return e.type===o.plural}function f(e){return e.type===o.pound}function g(e){return e.type===o.tag}function m(e){return!(!e||"object"!=typeof e||e.type!==r.number)}function v(e){return!(!e||"object"!=typeof e||e.type!==r.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(i||(i={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(r||(r={}));var _=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function b(e){var t={};return e.replace(y,(function(e){var n=e.length;switch(e[0]){case"G":t.era=4===n?"long":5===n?"narrow":"short";break;case"y":t.year=2===n?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===n?"long":5===n?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var C=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,w=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,x=/^(@+)?(\+|#+)?[rs]?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,I=/^(0+)$/;function k(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(x,(function(e,n,i){return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function T(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function E(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!I.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function D(e){return T(e)||{}}function O(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,a.pi)((0,a.pi)((0,a.pi)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return(0,a.pi)((0,a.pi)({},e),D(t))}),{}));continue;case"engineering":t=(0,a.pi)((0,a.pi)((0,a.pi)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return(0,a.pi)((0,a.pi)({},e),D(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(S,(function(e,n,i,o,r,a){if(n)t.minimumIntegerDigits=i.length;else{if(o&&r)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(I.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(w.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(w,(function(e,n,i,o,r,a){return"*"===i?t.minimumFractionDigits=n.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:r&&a?(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+a.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var r=o.options[0];"w"===r?t=(0,a.pi)((0,a.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=(0,a.pi)((0,a.pi)({},t),k(r)))}else if(x.test(o.stem))t=(0,a.pi)((0,a.pi)({},t),k(o.stem));else{var s=T(o.stem);s&&(t=(0,a.pi)((0,a.pi)({},t),s));var l=E(o.stem);l&&(t=(0,a.pi)((0,a.pi)({},t),l))}}return t}var P,A={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function M(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(A[n||""]||A[i||""]||A["".concat(i,"-001")]||A["001"])[0]}var R=new RegExp("^".concat(_.source,"*")),B=new RegExp("".concat(_.source,"*$"));function N(e,t){return{start:e,end:t}}var L=!!String.prototype.startsWith&&"_a".startsWith("a",1),V=!!String.fromCodePoint,F=!!Object.fromEntries,z=!!String.prototype.codePointAt,H=!!String.prototype.trimStart,j=!!String.prototype.trimEnd,Z=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},U=!0;try{U="a"===(null===(P=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===P?void 0:P[0])}catch(e){U=!1}var K,W=L?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},G=V?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",o=e.length,r=0;o>r;){if((n=e[r++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},q=F?Object.fromEntries:function(e){for(var t={},n=0,i=e;n<i.length;n++){var o=i[n],r=o[0],a=o[1];t[r]=a}return t},$=z?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,o=e.charCodeAt(t);return o<55296||o>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?o:i-56320+(o-55296<<10)+65536}},Y=H?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},X=j?function(e){return e.trimEnd()}:function(e){return e.replace(B,"")};function Q(e,t){return new RegExp(e,t)}if(U){var J=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");K=function(e,t){var n;return J.lastIndex=t,null!==(n=J.exec(e)[1])&&void 0!==n?n:""}}else K=function(e,t){for(var n=[];;){var i=$(e,t);if(void 0===i||ne(i)||ie(i))break;n.push(i),t+=i>=65536?2:1}return G.apply(void 0,n)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,n)).err)return s;r.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(i.UNMATCHED_CLOSING_TAG,N(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;r.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;r.push(s.val)}}else{var l=this.clonePosition();this.bump(),r.push({type:o.pound,location:N(l,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(r,"/>"),location:N(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(i.INVALID_TAG,N(l,this.clonePosition()));var c=this.clonePosition();return r!==this.parseTagName()?this.error(i.UNMATCHED_CLOSING_TAG,N(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:r,children:s,location:N(n,this.clonePosition())},err:null}:this.error(i.INVALID_TAG,N(l,this.clonePosition())))}return this.error(i.UNCLOSED_TAG,N(n,this.clonePosition()))}return this.error(i.INVALID_TAG,N(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var a=this.tryParseUnquoted(e,t);if(a)i+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var l=N(n,this.clonePosition());return{val:{type:o.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return G.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),G(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(i.EMPTY_ARGUMENT,N(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(i.MALFORMED_ARGUMENT,N(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:r,location:N(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,N(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(i.MALFORMED_ARGUMENT,N(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=K(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:N(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,s){var l,c=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(i.EXPECT_ARGUMENT_TYPE,N(c,d));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition();if((w=this.parseSimpleArgStyleIfPossible()).err)return w;if(0===(v=X(w.val)).length)return this.error(i.EXPECT_ARGUMENT_STYLE,N(this.clonePosition(),this.clonePosition()));h={style:v,styleLocation:N(p,this.clonePosition())}}if((x=this.tryParseArgumentClose(s)).err)return x;var f=N(s,this.clonePosition());if(h&&W(null==h?void 0:h.style,"::",0)){var g=Y(h.style.slice(2));if("number"===u)return(w=this.parseNumberSkeletonFromString(g,h.styleLocation)).err?w:{val:{type:o.number,value:n,location:f,style:w.val},err:null};if(0===g.length)return this.error(i.EXPECT_DATE_TIME_SKELETON,f);var m=g;this.locale&&(m=function(e,t){for(var n="",i=0;i<e.length;i++){var o=e.charAt(i);if("j"===o){for(var r=0;i+1<e.length&&e.charAt(i+1)===o;)r++,i++;var a=1+(1&r),s=r<2?1:3+(r>>1),l=M(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)n+="a";for(;a-- >0;)n=l+n}else n+="J"===o?"H":o}return n}(g,this.locale));var v={type:r.dateTime,pattern:m,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?b(m):{}};return{val:{type:"date"===u?o.date:o.time,value:n,location:f,style:v},err:null}}return{val:{type:"number"===u?o.number:"date"===u?o.date:o.time,value:n,location:f,style:null!==(l=null==h?void 0:h.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(i.EXPECT_SELECT_ARGUMENT_OPTIONS,N(_,(0,a.pi)({},_)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),C=0;if("select"!==u&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N(this.clonePosition(),this.clonePosition()));var w;if(this.bumpSpace(),(w=this.tryParseDecimalInteger(i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return w;this.bumpSpace(),y=this.parseIdentifierIfPossible(),C=w.val}var x,S=this.tryParsePluralOrSelectOptions(e,u,t,y);if(S.err)return S;if((x=this.tryParseArgumentClose(s)).err)return x;var I=N(s,this.clonePosition());return"select"===u?{val:{type:o.select,value:n,options:q(S.val),location:I},err:null}:{val:{type:o.plural,value:n,options:q(S.val),offset:C,pluralType:"plural"===u?"cardinal":"ordinal",location:I},err:null};default:return this.error(i.INVALID_ARGUMENT_TYPE,N(c,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(i.EXPECT_ARGUMENT_CLOSING_BRACE,N(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,N(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(C).filter((function(e){return e.length>0}));n<i.length;n++){var o=i[n].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var r=o[0],a=o.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:r,options:a})}return t}(e)}catch(e){return this.error(i.INVALID_NUMBER_SKELETON,t)}return{val:{type:r.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?O(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,o){for(var r,a=!1,s=[],l=new Set,c=o.value,u=o.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(i.EXPECT_PLURAL_ARGUMENT_SELECTOR,i.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=N(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(l.has(c))return this.error("select"===t?i.DUPLICATE_SELECT_ARGUMENT_SELECTOR:i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,N(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var g=this.tryParseArgumentClose(p);if(g.err)return g;s.push([c,{value:f.val,location:N(p,this.clonePosition())}]),l.add(c),this.bumpSpace(),c=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?i.EXPECT_SELECT_ARGUMENT_SELECTOR:i.EXPECT_PLURAL_ARGUMENT_SELECTOR,N(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(i.MISSING_OTHER_CLAUSE,N(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,r=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,r=10*r+(a-48),this.bump()}var s=N(i,this.clonePosition());return o?Z(r*=n)?{val:r,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=$(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(W(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ne(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function ne(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ie(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function oe(e){e.forEach((function(e){if(delete e.location,h(e)||p(e))for(var t in e.options)delete e.options[t].location,oe(e.options[t].value);else c(e)&&m(e.style)||(u(e)||d(e))&&v(e.style)?delete e.style.location:g(e)&&oe(e.children)}))}function re(e,t){void 0===t&&(t={}),t=(0,a.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ee(e,t).parse();if(n.err){var o=SyntaxError(i[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||oe(n.val),n.val}},88222:(e,t,n)=>{"use strict";n.d(t,{$6:()=>d,OV:()=>s,Qe:()=>c,X9:()=>u,gb:()=>l,wI:()=>a});var i,o=n(70655);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(i||(i={}));var r=function(e){function t(n,i,o){var r=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(r=e.call(this,"[@formatjs/intl Error ".concat(n,"] ").concat(i,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=n,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(r,t),r}return(0,o.ZT)(t,e),t}(Error),a=function(e){function t(t,n){return e.call(this,i.UNSUPPORTED_FORMATTER,t,n)||this}return(0,o.ZT)(t,e),t}(r),s=function(e){function t(t,n){return e.call(this,i.INVALID_CONFIG,t,n)||this}return(0,o.ZT)(t,e),t}(r),l=function(e){function t(t,n){return e.call(this,i.MISSING_DATA,t,n)||this}return(0,o.ZT)(t,e),t}(r),c=function(e){function t(t,n,o){var r=e.call(this,i.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(n,"\n"),o)||this;return r.locale=n,r}return(0,o.ZT)(t,e),t}(r),u=function(e){function t(t,n,i,o){var r=e.call(this,"".concat(t,"\nMessageID: ").concat(null==i?void 0:i.id,"\nDefault Message: ").concat(null==i?void 0:i.defaultMessage,"\nDescription: ").concat(null==i?void 0:i.description,"\n"),n,o)||this;return r.descriptor=i,r.locale=n,r}return(0,o.ZT)(t,e),t}(c),d=function(e){function t(t,n){var o=e.call(this,i.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(n,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return(0,o.ZT)(t,e),t}(r)},82644:(e,t,n)=>{"use strict";n.d(t,{L6:()=>s,Sn:()=>c,TB:()=>h,Z0:()=>l,ax:()=>d});var i=n(70655),o=n(16284),r=n(95957),a=n(88222);function s(e,t,n){return void 0===n&&(n={}),t.reduce((function(t,i){return i in e?t[i]=e[i]:i in n&&(t[i]=n[i]),t}),{})}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function d(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,n=Intl.ListFormat,a=Intl.DisplayNames,s=(0,r.H)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,i.ev)([void 0],t,!1)))}),{cache:u(e.dateTime),strategy:r.A.variadic}),l=(0,r.H)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,(0,i.ev)([void 0],t,!1)))}),{cache:u(e.number),strategy:r.A.variadic}),c=(0,r.H)((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,(0,i.ev)([void 0],t,!1)))}),{cache:u(e.pluralRules),strategy:r.A.variadic});return{getDateTimeFormat:s,getNumberFormat:l,getMessageFormat:(0,r.H)((function(e,t,n,r){return new o.C(e,t,n,(0,i.pi)({formatters:{getNumberFormat:l,getDateTimeFormat:s,getPluralRules:c}},r||{}))}),{cache:u(e.message),strategy:r.A.variadic}),getRelativeTimeFormat:(0,r.H)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,(0,i.ev)([void 0],e,!1)))}),{cache:u(e.relativeTime),strategy:r.A.variadic}),getPluralRules:c,getListFormat:(0,r.H)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(n.bind.apply(n,(0,i.ev)([void 0],e,!1)))}),{cache:u(e.list),strategy:r.A.variadic}),getDisplayNames:(0,r.H)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,(0,i.ev)([void 0],e,!1)))}),{cache:u(e.displayNames),strategy:r.A.variadic})}}function h(e,t,n,i){var o,r=e&&e[t];if(r&&(o=r[n]),o)return o;i(new a.wI("No ".concat(t," format named: ").concat(n)))}},73859:e=>{e.exports=null},69333:e=>{var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n={uuid:function(e,n){var i,o,r=t,a=[];if(n=n||r.length,e)for(i=0;i<e;i++)a[i]=r[0|Math.random()*n];else for(a[8]=a[13]=a[18]=a[23]="-",a[14]="4",i=0;i<36;i++)a[i]||(o=0|16*Math.random(),a[i]=r[19==i?3&o|8:o]);return a.join("")},uuidFast:function(){for(var e,n=t,i=new Array(36),o=0,r=0;r<36;r++)8==r||13==r||18==r||23==r?i[r]="-":14==r?i[r]="4":(o<=2&&(o=33554432+16777216*Math.random()|0),e=15&o,o>>=4,i[r]=n[19==r?3&e|8:e]);return i.join("")},uuidCompact:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}};e.exports=n},74152:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(90359),o=n.n(i),r=n(70655),a=n(74806),s=n(680);function l(e){var t=function(){var e=i.useContext(a._y);return(0,s.lq)(e),e}(),n=t.formatMessage,o=t.textComponent,r=void 0===o?i.Fragment:o,l=e.id,c=e.description,u=e.defaultMessage,d=e.values,h=e.children,p=e.tagName,f=void 0===p?r:p,g=n({id:l,description:c,defaultMessage:u},d,{ignoreTag:e.ignoreTag});return"function"==typeof h?h(Array.isArray(g)?g:[g]):f?i.createElement(f,null,i.Children.toArray(g)):i.createElement(i.Fragment,null,g)}l.displayName="FormattedMessage";var c=i.memo(l,(function(e,t){var n=e.values,i=(0,r._T)(e,["values"]),o=t.values,a=(0,r._T)(t,["values"]);return(0,s.wU)(o,n)&&(0,s.wU)(i,a)}));c.displayName="MemoizedFormattedMessage";const u=c,d=(0,a.ZP)((function(e){return o().createElement(u,e)}),{withRef:!1})},48708:e=>{e.exports=function(){var e={},t={register:function(n,i){if(!n)throw new Error("You must provide a valid name for this entry.");if(void 0!==e[n])throw new Error("'".concat(n,"' already registered"));if(!i)throw new Error("You must provide something to register as '".concat(n,"'"));return e[n]=i,t},list:function(){return Object.keys(e)},get:function(t){return e.hasOwnProperty(t)||console.error("No such entry '".concat(t,"'")),e[t]}};return t}()},72083:(e,t,n)=>{"use strict";n.d(t,{U:()=>s,v:()=>a});var i=n(94301),o=n.n(i),r={Accept:"application/json","Content-Type":"application/json; charset=utf-8",OPTIONS:""};function a(e,t){return o()(e,{method:"POST",headers:r,body:JSON.stringify(t)}).then((function(e){return e}))}function s(e){return o()(e,{method:"GET",headers:r}).then((function(e){return e.json()}))}},59858:(e,t,n)=>{"use strict";var i,o,r,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="object"===("undefined"==typeof window?"undefined":a(window));o=[n(73859)],void 0===(r="function"==typeof(i=function(e){var t,n="slider",i="bootstrapSlider";return s&&!window.console&&(window.console={}),s&&!window.console.log&&(window.console.log=function(){}),s&&!window.console.warn&&(window.console.warn=function(){}),function(e){var t=Array.prototype.slice;function n(){}!function(e){if(e){var i="undefined"==typeof console?n:function(e){console.error(e)};e.bridget=function(n,o){(function(t){t.prototype.option||(t.prototype.option=function(t){e.isPlainObject(t)&&(this.options=e.extend(!0,this.options,t))})})(o),function(n,o){e.fn[n]=function(r){if("string"==typeof r){for(var a=t.call(arguments,1),s=0,l=this.length;s<l;s++){var c=this[s],u=e.data(c,n);if(u)if(e.isFunction(u[r])&&"_"!==r.charAt(0)){var d=u[r].apply(u,a);if(void 0!==d&&d!==u)return d}else i("no such method '"+r+"' for "+n+" instance");else i("cannot call methods on "+n+" prior to initialization; attempted to call '"+r+"'")}return this}var h=this.map((function(){var t=e.data(this,n);return t?(t.option(r),t._init()):(t=new o(this,r),e.data(this,n,t)),e(this)}));return 1===h.length?h[0]:h}}(n,o)},e.bridget}}(e)}(e),function(e){var o=void 0,r=function(e){return"Invalid input value '"+e+"' passed in"},a={linear:{getValue:function(e,t){return e<t.min?t.min:e>t.max?t.max:e},toValue:function(e){var t=e/100*(this.options.max-this.options.min),n=!0;if(this.options.ticks_positions.length>0){for(var i,o,r,s=0,l=1;l<this.options.ticks_positions.length;l++)if(e<=this.options.ticks_positions[l]){i=this.options.ticks[l-1],r=this.options.ticks_positions[l-1],o=this.options.ticks[l],s=this.options.ticks_positions[l];break}t=i+(e-r)/(s-r)*(o-i),n=!1}var c=(n?this.options.min:0)+Math.round(t/this.options.step)*this.options.step;return a.linear.getValue(c,this.options)},toPercentage:function(e){if(this.options.max===this.options.min)return 0;if(this.options.ticks_positions.length>0){for(var t,n,i,o=0,r=0;r<this.options.ticks.length;r++)if(e<=this.options.ticks[r]){t=r>0?this.options.ticks[r-1]:0,i=r>0?this.options.ticks_positions[r-1]:0,n=this.options.ticks[r],o=this.options.ticks_positions[r];break}if(r>0)return i+(e-t)/(n-t)*(o-i)}return 100*(e-this.options.min)/(this.options.max-this.options.min)}},logarithmic:{toValue:function(e){var t=1-this.options.min,n=Math.log(this.options.min+t),i=Math.log(this.options.max+t),o=Math.exp(n+(i-n)*e/100)-t;return Math.round(o)===i?i:(o=this.options.min+Math.round((o-this.options.min)/this.options.step)*this.options.step,a.linear.getValue(o,this.options))},toPercentage:function(e){if(this.options.max===this.options.min)return 0;var t=1-this.options.min,n=Math.log(this.options.max+t),i=Math.log(this.options.min+t);return 100*(Math.log(e+t)-i)/(n-i)}}};function l(t,n){this._state={value:null,enabled:null,offset:null,size:null,percentage:null,inDrag:!1,over:!1,tickIndex:null},this.ticksCallbackMap={},this.handleCallbackMap={},"string"==typeof t?this.element=document.querySelector(t):t instanceof HTMLElement&&