@oslokommune/punkt-react 12.6.6 → 12.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,11 +53,11 @@
53
53
  `+ue+w}}var At=!1,bt;{var kt=typeof WeakMap=="function"?WeakMap:Map;bt=new kt}function kn(w,R){if(!w||At)return"";{var U=bt.get(w);if(U!==void 0)return U}var te;At=!0;var De=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ve;ve=je.current,je.current=null,Ne();try{if(R){var he=function(){throw Error()};if(Object.defineProperty(he.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(he,[])}catch(it){te=it}Reflect.construct(w,[],he)}else{try{he.call()}catch(it){te=it}w.call(he.prototype)}}else{try{throw Error()}catch(it){te=it}w()}}catch(it){if(it&&te&&typeof it.stack=="string"){for(var ie=it.stack.split(`
54
54
  `),et=te.stack.split(`
55
55
  `),Be=ie.length-1,Te=et.length-1;Be>=1&&Te>=0&&ie[Be]!==et[Te];)Te--;for(;Be>=1&&Te>=0;Be--,Te--)if(ie[Be]!==et[Te]){if(Be!==1||Te!==1)do if(Be--,Te--,Te<0||ie[Be]!==et[Te]){var gt=`
56
- `+ie[Be].replace(" at new "," at ");return w.displayName&&gt.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",w.displayName)),typeof w=="function"&&bt.set(w,gt),gt}while(Be>=1&&Te>=0);break}}}finally{At=!1,je.current=ve,Fe(),Error.prepareStackTrace=De}var Ue=w?w.displayName||w.name:"",tt=Ue?ft(Ue):"";return typeof w=="function"&&bt.set(w,tt),tt}function wt(w,R,U){return kn(w,!1)}function X(w){var R=w.prototype;return!!(R&&R.isReactComponent)}function Wt(w,R,U){if(w==null)return"";if(typeof w=="function")return kn(w,X(w));if(typeof w=="string")return ft(w);switch(w){case h:return ft("Suspense");case m:return ft("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case d:return wt(w.render);case v:return Wt(w.type,R,U);case y:{var te=w,De=te._payload,ve=te._init;try{return Wt(ve(De),R,U)}catch{}}}return""}var _e=Object.prototype.hasOwnProperty,Le={},Ee=T.ReactDebugCurrentFrame;function wr(w){if(w){var R=w._owner,U=Wt(w.type,w._source,R?R.type:null);Ee.setExtraStackFrame(U)}else Ee.setExtraStackFrame(null)}function wn(w,R,U,te,De){{var ve=Function.call.bind(_e);for(var he in w)if(ve(w,he)){var ie=void 0;try{if(typeof w[he]!="function"){var et=Error((te||"React class")+": "+U+" type `"+he+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[he]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw et.name="Invariant Violation",et}ie=w[he](R,he,te,U,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Be){ie=Be}ie&&!(ie instanceof Error)&&(wr(De),F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",te||"React class",U,he,typeof ie),wr(null)),ie instanceof Error&&!(ie.message in Le)&&(Le[ie.message]=!0,wr(De),F("Failed %s type: %s",U,ie.message),wr(null))}}}var yo=Array.isArray;function ln(w){return yo(w)}function la(w){{var R=typeof Symbol=="function"&&Symbol.toStringTag,U=R&&w[Symbol.toStringTag]||w.constructor.name||"Object";return U}}function Do(w){try{return gi(w),!1}catch{return!0}}function gi(w){return""+w}function mt(w){if(Do(w))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",la(w)),gi(w)}var Vt=T.ReactCurrentOwner,vi={key:!0,ref:!0,__self:!0,__source:!0},yi,Di,ua;ua={};function Ct(w){if(_e.call(w,"ref")){var R=Object.getOwnPropertyDescriptor(w,"ref").get;if(R&&R.isReactWarning)return!1}return w.ref!==void 0}function bo(w){if(_e.call(w,"key")){var R=Object.getOwnPropertyDescriptor(w,"key").get;if(R&&R.isReactWarning)return!1}return w.key!==void 0}function ko(w,R){if(typeof w.ref=="string"&&Vt.current&&R&&Vt.current.stateNode!==R){var U=L(Vt.current.type);ua[U]||(F('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L(Vt.current.type),w.ref),ua[U]=!0)}}function wo(w,R){{var U=function(){yi||(yi=!0,F("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};U.isReactWarning=!0,Object.defineProperty(w,"key",{get:U,configurable:!0})}}function Co(w,R){{var U=function(){Di||(Di=!0,F("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};U.isReactWarning=!0,Object.defineProperty(w,"ref",{get:U,configurable:!0})}}var $t=function(w,R,U,te,De,ve,he){var ie={$$typeof:t,type:w,key:R,ref:U,props:he,_owner:ve};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:te}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:De}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function _o(w,R,U,te,De){{var ve,he={},ie=null,et=null;U!==void 0&&(mt(U),ie=""+U),bo(R)&&(mt(R.key),ie=""+R.key),Ct(R)&&(et=R.ref,ko(R,De));for(ve in R)_e.call(R,ve)&&!vi.hasOwnProperty(ve)&&(he[ve]=R[ve]);if(w&&w.defaultProps){var Be=w.defaultProps;for(ve in Be)he[ve]===void 0&&(he[ve]=Be[ve])}if(ie||et){var Te=typeof w=="function"?w.displayName||w.name||"Unknown":w;ie&&wo(he,Te),et&&Co(he,Te)}return $t(w,ie,et,De,te,Vt.current,he)}}var ca=T.ReactCurrentOwner,bi=T.ReactDebugCurrentFrame;function Pt(w){if(w){var R=w._owner,U=Wt(w.type,w._source,R?R.type:null);bi.setExtraStackFrame(U)}else bi.setExtraStackFrame(null)}var pa;pa=!1;function da(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function ha(){{if(ca.current){var w=L(ca.current.type);if(w)return`
56
+ `+ie[Be].replace(" at new "," at ");return w.displayName&&gt.includes("<anonymous>")&&(gt=gt.replace("<anonymous>",w.displayName)),typeof w=="function"&&bt.set(w,gt),gt}while(Be>=1&&Te>=0);break}}}finally{At=!1,je.current=ve,Fe(),Error.prepareStackTrace=De}var We=w?w.displayName||w.name:"",tt=We?ft(We):"";return typeof w=="function"&&bt.set(w,tt),tt}function wt(w,R,U){return kn(w,!1)}function X(w){var R=w.prototype;return!!(R&&R.isReactComponent)}function Wt(w,R,U){if(w==null)return"";if(typeof w=="function")return kn(w,X(w));if(typeof w=="string")return ft(w);switch(w){case h:return ft("Suspense");case m:return ft("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case d:return wt(w.render);case v:return Wt(w.type,R,U);case y:{var te=w,De=te._payload,ve=te._init;try{return Wt(ve(De),R,U)}catch{}}}return""}var _e=Object.prototype.hasOwnProperty,Le={},Ee=T.ReactDebugCurrentFrame;function wr(w){if(w){var R=w._owner,U=Wt(w.type,w._source,R?R.type:null);Ee.setExtraStackFrame(U)}else Ee.setExtraStackFrame(null)}function wn(w,R,U,te,De){{var ve=Function.call.bind(_e);for(var he in w)if(ve(w,he)){var ie=void 0;try{if(typeof w[he]!="function"){var et=Error((te||"React class")+": "+U+" type `"+he+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[he]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw et.name="Invariant Violation",et}ie=w[he](R,he,te,U,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Be){ie=Be}ie&&!(ie instanceof Error)&&(wr(De),F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",te||"React class",U,he,typeof ie),wr(null)),ie instanceof Error&&!(ie.message in Le)&&(Le[ie.message]=!0,wr(De),F("Failed %s type: %s",U,ie.message),wr(null))}}}var yo=Array.isArray;function ln(w){return yo(w)}function la(w){{var R=typeof Symbol=="function"&&Symbol.toStringTag,U=R&&w[Symbol.toStringTag]||w.constructor.name||"Object";return U}}function Do(w){try{return gi(w),!1}catch{return!0}}function gi(w){return""+w}function mt(w){if(Do(w))return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",la(w)),gi(w)}var Vt=T.ReactCurrentOwner,vi={key:!0,ref:!0,__self:!0,__source:!0},yi,Di,ua;ua={};function Ct(w){if(_e.call(w,"ref")){var R=Object.getOwnPropertyDescriptor(w,"ref").get;if(R&&R.isReactWarning)return!1}return w.ref!==void 0}function bo(w){if(_e.call(w,"key")){var R=Object.getOwnPropertyDescriptor(w,"key").get;if(R&&R.isReactWarning)return!1}return w.key!==void 0}function ko(w,R){if(typeof w.ref=="string"&&Vt.current&&R&&Vt.current.stateNode!==R){var U=L(Vt.current.type);ua[U]||(F('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L(Vt.current.type),w.ref),ua[U]=!0)}}function wo(w,R){{var U=function(){yi||(yi=!0,F("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};U.isReactWarning=!0,Object.defineProperty(w,"key",{get:U,configurable:!0})}}function Co(w,R){{var U=function(){Di||(Di=!0,F("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",R))};U.isReactWarning=!0,Object.defineProperty(w,"ref",{get:U,configurable:!0})}}var $t=function(w,R,U,te,De,ve,he){var ie={$$typeof:t,type:w,key:R,ref:U,props:he,_owner:ve};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:te}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:De}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function _o(w,R,U,te,De){{var ve,he={},ie=null,et=null;U!==void 0&&(mt(U),ie=""+U),bo(R)&&(mt(R.key),ie=""+R.key),Ct(R)&&(et=R.ref,ko(R,De));for(ve in R)_e.call(R,ve)&&!vi.hasOwnProperty(ve)&&(he[ve]=R[ve]);if(w&&w.defaultProps){var Be=w.defaultProps;for(ve in Be)he[ve]===void 0&&(he[ve]=Be[ve])}if(ie||et){var Te=typeof w=="function"?w.displayName||w.name||"Unknown":w;ie&&wo(he,Te),et&&Co(he,Te)}return $t(w,ie,et,De,te,Vt.current,he)}}var ca=T.ReactCurrentOwner,bi=T.ReactDebugCurrentFrame;function Pt(w){if(w){var R=w._owner,U=Wt(w.type,w._source,R?R.type:null);bi.setExtraStackFrame(U)}else bi.setExtraStackFrame(null)}var pa;pa=!1;function da(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function ha(){{if(ca.current){var w=L(ca.current.type);if(w)return`
57
57
 
58
58
  Check the render method of \``+w+"`."}return""}}function xo(w){return""}var ki={};function So(w){{var R=ha();if(!R){var U=typeof w=="string"?w:w.displayName||w.name;U&&(R=`
59
59
 
60
- Check the top-level render call using <`+U+">.")}return R}}function Jn(w,R){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var U=So(R);if(ki[U])return;ki[U]=!0;var te="";w&&w._owner&&w._owner!==ca.current&&(te=" It was passed a child from "+L(w._owner.type)+"."),Pt(w),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',U,te),Pt(null)}}function un(w,R){{if(typeof w!="object")return;if(ln(w))for(var U=0;U<w.length;U++){var te=w[U];da(te)&&Jn(te,R)}else if(da(w))w._store&&(w._store.validated=!0);else if(w){var De=C(w);if(typeof De=="function"&&De!==w.entries)for(var ve=De.call(w),he;!(he=ve.next()).done;)da(he.value)&&Jn(he.value,R)}}}function _t(w){{var R=w.type;if(R==null||typeof R=="string")return;var U;if(typeof R=="function")U=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===d||R.$$typeof===v))U=R.propTypes;else return;if(U){var te=L(R);wn(U,w.props,"prop",te,w)}else if(R.PropTypes!==void 0&&!pa){pa=!0;var De=L(R);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",De||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Eo(w){{for(var R=Object.keys(w.props),U=0;U<R.length;U++){var te=R[U];if(te!=="children"&&te!=="key"){Pt(w),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",te),Pt(null);break}}w.ref!==null&&(Pt(w),F("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}var wi={};function Ci(w,R,U,te,De,ve){{var he=V(w);if(!he){var ie="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ie+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var et=xo();et?ie+=et:ie+=ha();var Be;w===null?Be="null":ln(w)?Be="array":w!==void 0&&w.$$typeof===t?(Be="<"+(L(w.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):Be=typeof w,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Be,ie)}var Te=_o(w,R,U,De,ve);if(Te==null)return Te;if(he){var gt=R.children;if(gt!==void 0)if(te)if(ln(gt)){for(var Ue=0;Ue<gt.length;Ue++)un(gt[Ue],w);Object.freeze&&Object.freeze(gt)}else F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else un(gt,w)}if(_e.call(R,"key")){var tt=L(w),it=Object.keys(R).filter(function($o){return $o!=="key"}),fa=it.length>0?"{key: someKey, "+it.join(": ..., ")+": ...}":"{key: someKey}";if(!wi[tt+fa]){var xi=it.length>0?"{"+it.join(": ..., ")+": ...}":"{}";F(`A props object containing a "key" prop is being spread into JSX:
60
+ Check the top-level render call using <`+U+">.")}return R}}function Jn(w,R){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var U=So(R);if(ki[U])return;ki[U]=!0;var te="";w&&w._owner&&w._owner!==ca.current&&(te=" It was passed a child from "+L(w._owner.type)+"."),Pt(w),F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',U,te),Pt(null)}}function un(w,R){{if(typeof w!="object")return;if(ln(w))for(var U=0;U<w.length;U++){var te=w[U];da(te)&&Jn(te,R)}else if(da(w))w._store&&(w._store.validated=!0);else if(w){var De=C(w);if(typeof De=="function"&&De!==w.entries)for(var ve=De.call(w),he;!(he=ve.next()).done;)da(he.value)&&Jn(he.value,R)}}}function _t(w){{var R=w.type;if(R==null||typeof R=="string")return;var U;if(typeof R=="function")U=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===d||R.$$typeof===v))U=R.propTypes;else return;if(U){var te=L(R);wn(U,w.props,"prop",te,w)}else if(R.PropTypes!==void 0&&!pa){pa=!0;var De=L(R);F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",De||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Eo(w){{for(var R=Object.keys(w.props),U=0;U<R.length;U++){var te=R[U];if(te!=="children"&&te!=="key"){Pt(w),F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",te),Pt(null);break}}w.ref!==null&&(Pt(w),F("Invalid attribute `ref` supplied to `React.Fragment`."),Pt(null))}}var wi={};function Ci(w,R,U,te,De,ve){{var he=V(w);if(!he){var ie="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ie+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var et=xo();et?ie+=et:ie+=ha();var Be;w===null?Be="null":ln(w)?Be="array":w!==void 0&&w.$$typeof===t?(Be="<"+(L(w.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):Be=typeof w,F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Be,ie)}var Te=_o(w,R,U,De,ve);if(Te==null)return Te;if(he){var gt=R.children;if(gt!==void 0)if(te)if(ln(gt)){for(var We=0;We<gt.length;We++)un(gt[We],w);Object.freeze&&Object.freeze(gt)}else F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else un(gt,w)}if(_e.call(R,"key")){var tt=L(w),it=Object.keys(R).filter(function($o){return $o!=="key"}),fa=it.length>0?"{key: someKey, "+it.join(": ..., ")+": ...}":"{key: someKey}";if(!wi[tt+fa]){var xi=it.length>0?"{"+it.join(": ..., ")+": ...}":"{}";F(`A props object containing a "key" prop is being spread into JSX:
61
61
  let props = %s;
62
62
  <%s {...props} />
63
63
  React keys must be passed directly to JSX without using spread:
@@ -92,7 +92,7 @@ React keys must be passed directly to JSX without using spread:
92
92
  * @license
93
93
  * Copyright 2017 Google LLC
94
94
  * SPDX-License-Identifier: BSD-3-Clause
95
- */function Yt(e){return O({...e,state:!0,attribute:!1})}for(var Je=[],Zi=0;Zi<256;++Zi)Je.push((Zi+256).toString(16).slice(1));function kh(e,t=0){return(Je[e[t+0]]+Je[e[t+1]]+Je[e[t+2]]+Je[e[t+3]]+"-"+Je[e[t+4]]+Je[e[t+5]]+"-"+Je[e[t+6]]+Je[e[t+7]]+"-"+Je[e[t+8]]+Je[e[t+9]]+"-"+Je[e[t+10]]+Je[e[t+11]]+Je[e[t+12]]+Je[e[t+13]]+Je[e[t+14]]+Je[e[t+15]]).toLowerCase()}var Na,wh=new Uint8Array(16);function Ch(){if(!Na&&(Na=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Na))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Na(wh)}var _h=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const $l={randomUUID:_h};function Tl(e,t,n){if($l.randomUUID&&!t&&!e)return $l.randomUUID();e=e||{};var r=e.random||(e.rng||Ch)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,kh(r)}const xh={hi:"Hei!"},Sh={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},Eh={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},Fh={labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},Tt={example:xh,calendar:Sh,dates:Eh,forms:Fh};var Ah=Object.defineProperty,ze=(e,t,n,r)=>{for(var i=void 0,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=u(t,n,i)||i);return i&&Ah(t,n,i),i};let Bt=class extends Ir{constructor(){super(),this.strings=Tt}connectedCallback(){super.connectedCallback()}createRenderRoot(){return this}hotReplacedCallback(){this.requestUpdate()}};ze([O({type:Object})],Bt.prototype,"strings");let Ge=class extends Bt{constructor(){super(),this.id=Tl(),this.name=this.id,this.required=!1,this.disabled=!1,this.placeholder="",this.min=null,this.max=null,this.minlength=0,this.maxlength=0,this.pattern="",this.optionalTag=!1,this.optionalText=Tt.forms.labels.optional,this.requiredTag=!1,this.requiredText=Tt.forms.labels.required,this.hasError=!1,this.errorMessage="",this.touched=!1,this.internals=this.attachInternals()}static get formAssociated(){return!0}manageValidity(t){this.required&&!this.value?this.internals.setValidity({valueMissing:!0},Tt.forms.messages.required,t):t.validity.typeMismatch||t.validity.badInput?this.internals.setValidity({typeMismatch:!0},Tt.forms.messages.invalid,t):t.validity.patternMismatch?this.internals.setValidity({patternMismatch:!0},Tt.forms.messages.invalidPattern,t):t.validity.tooShort||this.minLength>0&&this.value.length<this.minLength?this.internals.setValidity({tooShort:!0},Tt.forms.messages.tooShort,t):t.validity.tooLong||this.maxLength>0&&this.value.length>this.maxLength?this.internals.setValidity({tooLong:!0},Tt.forms.messages.tooLong,t):t.validity.rangeUnderflow?this.internals.setValidity({rangeUnderflow:!0},Tt.forms.messages.rangeUnderflow,t):t.validity.rangeOverflow?this.internals.setValidity({rangeOverflow:!0},Tt.forms.messages.rangeOverflow,t):t.validity.customError?this.internals.setValidity({customError:!0},t.validationMessage,t):this.internals.setValidity({})}setFormValue(t){if(this.internals)if(Array.isArray(t)){const n=new FormData;t.forEach(r=>{n.append(this.name,r)}),this.internals.setFormValue(n)}else this.internals.setFormValue(t)}valueChanged(t,n){typeof t=="string"?((this.multiple||this.range)&&t.includes(",")&&(t=t.split(",")),this.value=t,this._value=Array.isArray(t)?t:[t]):Array.isArray(t)?(this.value=t,this._value=t):(this.value="",this._value=[]),(!this.value||this.value.length===0)&&n&&n.length!==0?this.clearInputValue():this.value&&this.value.toString()!==(n==null?void 0:n.toString())&&this.onChange(this.value),this.updateComplete.then(()=>this.requestUpdate())}clearInputValue(){const t=this.multiple||this.range?[]:"";this.value=t,this.internals.setFormValue(t),this.dispatchEvent(new Event("change")),this.dispatchEvent(new CustomEvent("value-change",{detail:t,bubbles:!0,composed:!0}))}onFocus(){this.dispatchEvent(new FocusEvent("focus"))}onBlur(){this.dispatchEvent(new FocusEvent("blur"))}onInput(){this.dispatchEvent(new InputEvent("input"))}onChange(t){if(!this.touched){this.touched=!0,t&&this.setFormValue(t);return}typeof t!="string"&&!Array.isArray(t)||((this.range||this.multiple)&&!Array.isArray(t)&&t.includes(",")&&(t=t.split(",")),!this.multiple&&!this.range&&Array.isArray(t)&&(t=t[0]),this.setFormValue(t),this.manageValidity(this.inputRef.value),this.inputRef2&&this.manageValidity(this.inputRef2.value),this.dispatchEvent(new Event("change")),this.dispatchEvent(new CustomEvent("value-change",{detail:t,bubbles:!0,composed:!0})),this.internals.reportValidity())}firstUpdated(t){super.firstUpdated(t),this.required&&(this.internals.ariaRequired=!0),this.disabled&&(this.internals.disabled=!0,this.internals.ariaDisabled=!0),this.internals.setFormValue(this.value),this.manageValidity(this.inputRef.value)}};ze([O({type:String,reflect:!0})],Ge.prototype,"id"),ze([O({type:String,reflect:!0})],Ge.prototype,"name"),ze([O({type:Boolean,reflect:!0})],Ge.prototype,"required"),ze([O({type:Boolean,reflect:!0})],Ge.prototype,"disabled"),ze([O({type:String,reflect:!0})],Ge.prototype,"placeholder"),ze([O({type:Number,reflect:!0})],Ge.prototype,"min"),ze([O({type:Number,reflect:!0})],Ge.prototype,"max"),ze([O({type:Number,reflect:!0})],Ge.prototype,"minlength"),ze([O({type:Number,reflect:!0})],Ge.prototype,"maxlength"),ze([O({type:String,reflect:!0})],Ge.prototype,"pattern"),ze([O({type:Boolean,reflect:!0})],Ge.prototype,"optionalTag"),ze([O({type:String,reflect:!0})],Ge.prototype,"optionalText"),ze([O({type:Boolean,reflect:!0})],Ge.prototype,"requiredTag"),ze([O({type:String,reflect:!0})],Ge.prototype,"requiredText"),ze([O({type:Boolean,reflect:!0})],Ge.prototype,"hasError"),ze([O({type:String,reflect:!0})],Ge.prototype,"errorMessage"),ze([Yt()],Ge.prototype,"touched");/**
95
+ */function Yt(e){return O({...e,state:!0,attribute:!1})}for(var Je=[],Zi=0;Zi<256;++Zi)Je.push((Zi+256).toString(16).slice(1));function kh(e,t=0){return(Je[e[t+0]]+Je[e[t+1]]+Je[e[t+2]]+Je[e[t+3]]+"-"+Je[e[t+4]]+Je[e[t+5]]+"-"+Je[e[t+6]]+Je[e[t+7]]+"-"+Je[e[t+8]]+Je[e[t+9]]+"-"+Je[e[t+10]]+Je[e[t+11]]+Je[e[t+12]]+Je[e[t+13]]+Je[e[t+14]]+Je[e[t+15]]).toLowerCase()}var Na,wh=new Uint8Array(16);function Ch(){if(!Na&&(Na=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Na))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Na(wh)}var _h=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const $l={randomUUID:_h};function Tl(e,t,n){if($l.randomUUID&&!t&&!e)return $l.randomUUID();e=e||{};var r=e.random||(e.rng||Ch)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,kh(r)}const xh={hi:"Hei!"},Sh={buttonAltText:"Åpne kalender",deleteDate:"Fjern dato"},Eh={month:"Måned",year:"År",days:["Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag","Søndag"],daysShort:["Man","Tir","Ons","Tor","Fre","Lør","Søn"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],week:"Uke",prevMonth:"Forrige måned",nextMonth:"Neste måned"},Fh={labels:{optional:"Valgfritt",required:"Må fylles ut"},messages:{required:"Dette feltet er påkrevd",invalid:"Ugyldig verdi",invalidPattern:"Ugyldig format",tooShort:"For kort",tooLong:"For lang",rangeUnderflow:"For lav verdi",rangeOverflow:"For høy verdi",dateUnderflow:"For tidlig dato",dateOverflow:"For sen dato"},date:{multiple:"Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato."}},Tt={example:xh,calendar:Sh,dates:Eh,forms:Fh};var Ah=Object.defineProperty,Ge=(e,t,n,r)=>{for(var i=void 0,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=u(t,n,i)||i);return i&&Ah(t,n,i),i};let Bt=class extends Ir{constructor(){super(),this.strings=Tt}connectedCallback(){super.connectedCallback()}createRenderRoot(){return this}hotReplacedCallback(){this.requestUpdate()}};Ge([O({type:Object})],Bt.prototype,"strings");let Ye=class extends Bt{constructor(){super(),this.id=Tl(),this.name=this.id,this.required=!1,this.disabled=!1,this.placeholder="",this.min=null,this.max=null,this.minlength=0,this.maxlength=0,this.pattern="",this.optionalTag=!1,this.optionalText=Tt.forms.labels.optional,this.requiredTag=!1,this.requiredText=Tt.forms.labels.required,this.hasError=!1,this.errorMessage="",this.touched=!1,this.internals=this.attachInternals()}static get formAssociated(){return!0}manageValidity(t){this.required&&!this.value?this.internals.setValidity({valueMissing:!0},Tt.forms.messages.required,t):t.validity.typeMismatch||t.validity.badInput?this.internals.setValidity({typeMismatch:!0},Tt.forms.messages.invalid,t):t.validity.patternMismatch?this.internals.setValidity({patternMismatch:!0},Tt.forms.messages.invalidPattern,t):t.validity.tooShort||this.minLength>0&&this.value.length<this.minLength?this.internals.setValidity({tooShort:!0},Tt.forms.messages.tooShort,t):t.validity.tooLong||this.maxLength>0&&this.value.length>this.maxLength?this.internals.setValidity({tooLong:!0},Tt.forms.messages.tooLong,t):t.validity.rangeUnderflow?this.internals.setValidity({rangeUnderflow:!0},Tt.forms.messages.rangeUnderflow,t):t.validity.rangeOverflow?this.internals.setValidity({rangeOverflow:!0},Tt.forms.messages.rangeOverflow,t):t.validity.customError?this.internals.setValidity({customError:!0},t.validationMessage,t):this.internals.setValidity({})}setFormValue(t){if(this.internals)if(Array.isArray(t)){const n=new FormData;t.forEach(r=>{n.append(this.name,r)}),this.internals.setFormValue(n)}else this.internals.setFormValue(t)}valueChanged(t,n){typeof t=="string"?((this.multiple||this.range)&&t.includes(",")&&(t=t.split(",")),this.value=t,this._value=Array.isArray(t)?t:[t]):Array.isArray(t)?(this.value=t,this._value=t):(this.value="",this._value=[]),(!this.value||this.value.length===0)&&n&&n.length!==0?this.clearInputValue():this.value&&this.value.toString()!==(n==null?void 0:n.toString())&&this.onChange(this.value),this.updateComplete.then(()=>this.requestUpdate())}clearInputValue(){const t=this.multiple||this.range?[]:"";this.value=t,this.internals.setFormValue(t),this.dispatchEvent(new Event("change")),this.dispatchEvent(new CustomEvent("value-change",{detail:t,bubbles:!0,composed:!0}))}onFocus(){this.dispatchEvent(new FocusEvent("focus"))}onBlur(){this.dispatchEvent(new FocusEvent("blur"))}onInput(){this.dispatchEvent(new InputEvent("input"))}onChange(t){if(!this.touched){this.touched=!0,t&&this.setFormValue(t);return}typeof t!="string"&&!Array.isArray(t)||((this.range||this.multiple)&&!Array.isArray(t)&&t.includes(",")&&(t=t.split(",")),!this.multiple&&!this.range&&Array.isArray(t)&&(t=t[0]),this.setFormValue(t),this.manageValidity(this.inputRef.value),this.inputRef2&&this.manageValidity(this.inputRef2.value),this.dispatchEvent(new Event("change")),this.dispatchEvent(new CustomEvent("value-change",{detail:t,bubbles:!0,composed:!0})),this.internals.reportValidity())}firstUpdated(t){super.firstUpdated(t),this.required&&(this.internals.ariaRequired=!0),this.disabled&&(this.internals.disabled=!0,this.internals.ariaDisabled=!0),this.internals.setFormValue(this.value),this.manageValidity(this.inputRef.value)}};Ge([O({type:String,reflect:!0})],Ye.prototype,"id"),Ge([O({type:String,reflect:!0})],Ye.prototype,"name"),Ge([O({type:Boolean,reflect:!0})],Ye.prototype,"required"),Ge([O({type:Boolean,reflect:!0})],Ye.prototype,"disabled"),Ge([O({type:String,reflect:!0})],Ye.prototype,"placeholder"),Ge([O({type:Number,reflect:!0})],Ye.prototype,"min"),Ge([O({type:Number,reflect:!0})],Ye.prototype,"max"),Ge([O({type:Number,reflect:!0})],Ye.prototype,"minlength"),Ge([O({type:Number,reflect:!0})],Ye.prototype,"maxlength"),Ge([O({type:String,reflect:!0})],Ye.prototype,"pattern"),Ge([O({type:Boolean,reflect:!0})],Ye.prototype,"optionalTag"),Ge([O({type:String,reflect:!0})],Ye.prototype,"optionalText"),Ge([O({type:Boolean,reflect:!0})],Ye.prototype,"requiredTag"),Ge([O({type:String,reflect:!0})],Ye.prototype,"requiredText"),Ge([O({type:Boolean,reflect:!0})],Ye.prototype,"hasError"),Ge([O({type:String,reflect:!0})],Ye.prototype,"errorMessage"),Ge([Yt()],Ye.prototype,"touched");/**
96
96
  * @license
97
97
  * Copyright 2017 Google LLC
98
98
  * SPDX-License-Identifier: BSD-3-Clause
@@ -382,7 +382,7 @@ React keys must be passed directly to JSX without using spread:
382
382
  * @license
383
383
  * Copyright 2017 Google LLC
384
384
  * SPDX-License-Identifier: BSD-3-Clause
385
- */const Yl=(e,t,n)=>{const r=new Map;for(let i=t;i<=n;i++)r.set(e[i],i);return r},Tm=Mr(class extends Pa{constructor(e){if(super(e),e.type!==ja.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,n){let r;n===void 0?n=t:t!==void 0&&(r=t);const i=[],o=[];let u=0;for(const c of e)i[u]=r?r(c,u):u,o[u]=n(c,u),u++;return{values:o,keys:i}}render(e,t,n){return this.dt(e,t,n).values}update(e,[t,n,r]){const i=jh(e),{values:o,keys:u}=this.dt(t,n,r);if(!Array.isArray(i))return this.ut=u,o;const c=this.ut??(this.ut=[]),d=[];let h,m,v=0,y=i.length-1,b=0,k=o.length-1;for(;v<=y&&b<=k;)if(i[v]===null)v++;else if(i[y]===null)y--;else if(c[v]===u[b])d[b]=Bn(i[v],o[b]),v++,b++;else if(c[y]===u[k])d[k]=Bn(i[y],o[k]),y--,k--;else if(c[v]===u[k])d[k]=Bn(i[v],o[k]),Rr(e,d[k+1],i[v]),v++,k--;else if(c[y]===u[b])d[b]=Bn(i[y],o[b]),Rr(e,i[v],i[y]),y--,b++;else if(h===void 0&&(h=Yl(u,b,k),m=Yl(c,v,y)),h.has(c[v]))if(h.has(c[y])){const x=m.get(u[b]),C=x!==void 0?i[x]:null;if(C===null){const T=Rr(e,i[v]);Bn(T,o[b]),d[b]=T}else d[b]=Bn(C,o[b]),Rr(e,i[v],C),i[x]=null;b++}else es(i[y]),y--;else es(i[v]),v++;for(;b<=k;){const x=Rr(e,d[k+1]);Bn(x,o[b]),d[b++]=x}for(;v<=y;){const x=i[v++];x!==null&&es(x)}return this.ut=u,Nh(e,d),Gt}}),Bm="pkt-datepicker",Nm=!0,jm={name:{type:"string",name:"Navn",description:"Navn som sendes brukes i skjema ved innsending"},label:{type:"string",name:"Etikett",description:"Tekst som vises over datovelgeren"},helptext:{type:"string",name:"Hjelpetekst",description:"Hjelpetekst som vises over datovelgeren"},helptextDropdown:{type:"string",name:"Utvidet hjelpetekst",description:"Hjelpetekst som vises i en lukket boks man kan åpne"},helptextDropdownButton:{type:"string",name:"Knappetekst for hjelpetekst",description:"Tekst som vises på knappen for å åpne/lukke utvidet hjelpetekst",default:"Les mer"},dateformat:{name:"Datoformat",description:"Datoformat for valgte datoer i flervalgsmodus",type:"string",default:"dd.MM.yyyy"},currentmonth:{name:"Nåværende måned",type:"ISOdatestring",description:"Måneden som skal vises i datovelgeren"},value:{name:"Verdi",type:"ISOdatestring",variant:"multiple",reflect:!0,description:"Kommaseparert liste av valgte datoer"},excludeweekdays:{name:"Utelat ukedager",type:"string",description:"Kommaseparert liste over ukedager (1-7) som skal ekskluderes"},excludedates:{name:"Utelat datoer",type:"ISOdatestring",variant:"multiple",description:"Kommaseparert liste over datoer som skal ekskluderes"},min:{name:"Tidligst tillatt",type:"ISOdatestring",default:null,description:"Første tillate dato i datovelgeren"},max:{name:"Senest tillatt",type:"ISOdatestring",default:null,description:"Siste tillate dato i datovelgeren"},weeknumbers:{name:"Vis ukenummer",type:"boolean",reflect:!0,default:!1,description:"Vis ukedager i datovelgerens kalender"},withcontrols:{name:"Med kontroller",type:"boolean",reflect:!0,default:!1,description:"Vis avanserte velgere for måned og år"},multiple:{name:"Flervalg",type:"boolean",reflect:!0,default:!1,description:"Tillat valg av flere enn én dato i samme velger"},maxlength:{name:"Maks antall",description:"Maks valgte datoer i flervalgsmodus",type:"number",default:4},range:{name:"Datotidsrom",type:"boolean",reflect:!0,default:!1,description:"Tillat å velge et tidsrom mellom to datoer i samme velger"},hasError:{type:"boolean",name:"Feil",description:"Viser feiltilstand for datovelgeren"},errorMessage:{type:"string",name:"Feilmelding",description:"Tekst som vises under datovelgeren ved feiltilstand"},disabled:{type:"boolean",name:"Deaktivert",default:!1,reflect:!0,description:"Er datovelgeren deaktivert?"},fullwidth:{type:"boolean",name:"Full bredde",default:!1,reflect:!0,description:"Skal datovelgeren ta opp hele bredden?"},required:{type:"boolean",name:"Påkrevd",default:!1,reflect:!0,description:"Er datovelgeren påkrevd?"},requiredTag:{type:"boolean",name:"Vise påkrevd-merking",default:!1,description:"Viser en merking som indikerer at datovelgeren er påkrevd"},requiredText:{type:"string",name:"Påkrevd-tekst",default:"Må fylles ut",description:"Tekst som vises i påkrevd-merkingen"},optionalTag:{type:"boolean",name:"Vise valgfritt-merking",default:!1,description:"Viser en merking som indikerer at datovelgeren er valgfri"},optionalText:{type:"string",name:"Valgfritt-tekst",default:"Valgfritt",description:"Tekst som vises i valgfritt-merkingen"},id:{type:"string",name:"ID",description:"Unik identifikasjon for datovelgeren"}},Pm={change:{type:"Event",description:"Returnerer valgt dato som streng i ISO-format"},"value-change":{type:"CustomEvent",description:"Returnerer en <code>array</code> med valgte datoer i ISO-format"},toggleHelpText:{type:"CustomEvent",description:"Returnerer <code>event.detail { isOpen: true }</code> eller <code>event.detail { isOpen: false }</code> når hjelpeteksten åpnes eller lukkes"}},Xt={name:Bm,"css-class":"pkt-datepicker",isElement:Nm,props:jm,events:Pm};var Lm=Object.defineProperty,Om=Object.getOwnPropertyDescriptor,Ye=(e,t,n,r)=>{for(var i=r>1?void 0:r?Om(t,n):t,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=(r?u(t,n,i):u(i))||i);return r&&i&&Lm(t,n,i),i};const Kl=e=>new Promise(t=>setTimeout(t,e));let Ie=class extends Ge{constructor(){super(...arguments),this.value="",this._value=this.value?Array.isArray(this.value)?this.value:this.value.split(","):[],this.label="Datovelger",this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Xt.props.helptextDropdownButton.default,this.dateformat=Xt.props.dateformat.default,this.multiple=Xt.props.multiple.default,this.maxlength=Xt.props.maxlength.default,this.range=Xt.props.range.default,this.weeknumbers=Xt.props.weeknumbers.default,this.withcontrols=Xt.props.withcontrols.default,this.fullwidth=!1,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.calendarOpen=!1,this.inputRef=vt(),this.inputRefTo=vt(),this.btnRef=vt(),this.calRef=vt(),this.popupRef=vt(),this.inputClasses={"pkt-input":!0,"pkt-datepicker__input":!0,"pkt-input--fullwidth":this.fullwidth},this.buttonClasses={"pkt-input-icon":!0,"pkt-btn":!0,"pkt-btn--icon-only":!0,"pkt-btn--tertiary":!0},this.fromISOToDate=e=>{if(!e)return null;const t=new Date(e);return t.setHours(12,0,0,0),isNaN(t.getTime())?null:t},this.fromISOtoLocal=e=>{const t=new Date(e);return isNaN(t.getTime())?"":Am(t,this.dateformat)},this.massageDates=e=>{const t=e.map(n=>n??void 0);return this.multiple?t:this.range?t.slice(0,2):[t[0]]},this.addToSelected=e=>{const t=e.target,n=this.min?new Date(this.min):null,r=this.max?new Date(this.max):null,i=new Date(t.value.split(",")[0]);i.setHours(12,0,0,0),i&&!isNaN(i.getTime())&&(!n||i>=n)&&(!r||i<=r)&&this.calRef.value&&this.calRef.value.handleDateSelect(i),t.value=""}}async connectedCallback(){super.connectedCallback(),this.isMobileSafari=/iP(ad|od|hone)/i.test(window.navigator.userAgent)&&!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),this.inputType=this.isMobileSafari?"text":"date",document&&document.body.addEventListener("click",e=>{var t,n;(t=this.inputRef)!=null&&t.value&&(n=this.btnRef)!=null&&n.value&&!this.inputRef.value.contains(e.target)&&!(this.inputRefTo.value&&this.inputRefTo.value.contains(e.target))&&!this.btnRef.value.contains(e.target)&&!e.target.closest(".pkt-calendar-popup")&&this.calendarOpen&&(this.onBlur(),this.hideCalendar())}),this.value.length&&this._value.length===0&&(this._value=Array.isArray(this.value)?this.value:this.value.split(",")),this.min=this.min||Xt.props.min.default,this.max=this.max||Xt.props.max.default,typeof this.excludedates=="string"&&(this.excludedates=this.excludedates.split(",")),typeof this.excludeweekdays=="string"&&(this.excludeweekdays=this.excludeweekdays.split(",")),(this.multiple||this.range)&&this.name&&!this.name.endsWith("[]")&&(this.name=this.name+"[]"),this.calendarOpen&&(await Kl(20),this.handleCalendarPosition())}disconnectedCallback(){super.disconnectedCallback(),document&&document.body.removeEventListener("click",e=>{var t,n;(t=this.inputRef)!=null&&t.value&&(n=this.btnRef)!=null&&n.value&&!this.inputRef.value.contains(e.target)&&!this.btnRef.value.contains(e.target)&&this.hideCalendar()})}attributeChangedCallback(e,t,n){e==="value"&&this.valueChanged(this.value,t),e==="excludedates"&&typeof this.excludedates=="string"&&(this.excludedates=(n==null?void 0:n.split(","))??[]),e==="excludeweekdays"&&typeof this.excludeweekdays=="string"&&(this.excludeweekdays=(n==null?void 0:n.split(","))??[]),super.attributeChangedCallback(e,t,n)}firstUpdated(e){super.firstUpdated(e)}updated(e){if(super.updated(e),e.has("value")){if(this.range&&this._value.length===1)return;this.valueChanged(this.value,e.get("value"))}}formatISODate(e){return e.toISOString().split("T")[0]}renderInput(){return K`
385
+ */const Yl=(e,t,n)=>{const r=new Map;for(let i=t;i<=n;i++)r.set(e[i],i);return r},Tm=Mr(class extends Pa{constructor(e){if(super(e),e.type!==ja.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,n){let r;n===void 0?n=t:t!==void 0&&(r=t);const i=[],o=[];let u=0;for(const c of e)i[u]=r?r(c,u):u,o[u]=n(c,u),u++;return{values:o,keys:i}}render(e,t,n){return this.dt(e,t,n).values}update(e,[t,n,r]){const i=jh(e),{values:o,keys:u}=this.dt(t,n,r);if(!Array.isArray(i))return this.ut=u,o;const c=this.ut??(this.ut=[]),d=[];let h,m,v=0,y=i.length-1,b=0,k=o.length-1;for(;v<=y&&b<=k;)if(i[v]===null)v++;else if(i[y]===null)y--;else if(c[v]===u[b])d[b]=Bn(i[v],o[b]),v++,b++;else if(c[y]===u[k])d[k]=Bn(i[y],o[k]),y--,k--;else if(c[v]===u[k])d[k]=Bn(i[v],o[k]),Rr(e,d[k+1],i[v]),v++,k--;else if(c[y]===u[b])d[b]=Bn(i[y],o[b]),Rr(e,i[v],i[y]),y--,b++;else if(h===void 0&&(h=Yl(u,b,k),m=Yl(c,v,y)),h.has(c[v]))if(h.has(c[y])){const x=m.get(u[b]),C=x!==void 0?i[x]:null;if(C===null){const T=Rr(e,i[v]);Bn(T,o[b]),d[b]=T}else d[b]=Bn(C,o[b]),Rr(e,i[v],C),i[x]=null;b++}else es(i[y]),y--;else es(i[v]),v++;for(;b<=k;){const x=Rr(e,d[k+1]);Bn(x,o[b]),d[b++]=x}for(;v<=y;){const x=i[v++];x!==null&&es(x)}return this.ut=u,Nh(e,d),Gt}}),Bm="pkt-datepicker",Nm=!0,jm={name:{type:"string",name:"Navn",description:"Navn som sendes brukes i skjema ved innsending"},label:{type:"string",name:"Etikett",description:"Tekst som vises over datovelgeren"},helptext:{type:"string",name:"Hjelpetekst",description:"Hjelpetekst som vises over datovelgeren"},helptextDropdown:{type:"string",name:"Utvidet hjelpetekst",description:"Hjelpetekst som vises i en lukket boks man kan åpne"},helptextDropdownButton:{type:"string",name:"Knappetekst for hjelpetekst",description:"Tekst som vises på knappen for å åpne/lukke utvidet hjelpetekst",default:"Les mer"},dateformat:{name:"Datoformat",description:"Datoformat for valgte datoer i flervalgsmodus",type:"string",default:"dd.MM.yyyy"},currentmonth:{name:"Nåværende måned",type:"ISOdatestring",description:"Måneden som skal vises i datovelgeren"},value:{name:"Verdi",type:"ISOdatestring",variant:"multiple",reflect:!0,description:"Kommaseparert liste av valgte datoer"},excludeweekdays:{name:"Utelat ukedager",type:"string",description:"Kommaseparert liste over ukedager (1-7) som skal ekskluderes"},excludedates:{name:"Utelat datoer",type:"ISOdatestring",variant:"multiple",description:"Kommaseparert liste over datoer som skal ekskluderes"},min:{name:"Tidligst tillatt",type:"ISOdatestring",default:null,description:"Første tillate dato i datovelgeren"},max:{name:"Senest tillatt",type:"ISOdatestring",default:null,description:"Siste tillate dato i datovelgeren"},weeknumbers:{name:"Vis ukenummer",type:"boolean",reflect:!0,default:!1,description:"Vis ukedager i datovelgerens kalender"},withcontrols:{name:"Med kontroller",type:"boolean",reflect:!0,default:!1,description:"Vis avanserte velgere for måned og år"},multiple:{name:"Flervalg",type:"boolean",reflect:!0,default:!1,description:"Tillat valg av flere enn én dato i samme velger"},maxlength:{name:"Maks antall",description:"Maks valgte datoer i flervalgsmodus",type:"number",default:4},range:{name:"Datotidsrom",type:"boolean",reflect:!0,default:!1,description:"Tillat å velge et tidsrom mellom to datoer i samme velger"},hasError:{type:"boolean",name:"Feil",description:"Viser feiltilstand for datovelgeren"},errorMessage:{type:"string",name:"Feilmelding",description:"Tekst som vises under datovelgeren ved feiltilstand"},disabled:{type:"boolean",name:"Deaktivert",default:!1,reflect:!0,description:"Er datovelgeren deaktivert?"},fullwidth:{type:"boolean",name:"Full bredde",default:!1,reflect:!0,description:"Skal datovelgeren ta opp hele bredden?"},required:{type:"boolean",name:"Påkrevd",default:!1,reflect:!0,description:"Er datovelgeren påkrevd?"},requiredTag:{type:"boolean",name:"Vise påkrevd-merking",default:!1,description:"Viser en merking som indikerer at datovelgeren er påkrevd"},requiredText:{type:"string",name:"Påkrevd-tekst",default:"Må fylles ut",description:"Tekst som vises i påkrevd-merkingen"},optionalTag:{type:"boolean",name:"Vise valgfritt-merking",default:!1,description:"Viser en merking som indikerer at datovelgeren er valgfri"},optionalText:{type:"string",name:"Valgfritt-tekst",default:"Valgfritt",description:"Tekst som vises i valgfritt-merkingen"},useWrapper:{type:"boolean",name:"Bruk wrapper",description:"Indikerer at feltet skal ha synlig label og hjelpetekst",default:!0},id:{type:"string",name:"ID",description:"Unik identifikasjon for datovelgeren"}},Pm={change:{type:"Event",description:"Returnerer valgt dato som streng i ISO-format"},"value-change":{type:"CustomEvent",description:"Returnerer en <code>array</code> med valgte datoer i ISO-format"},toggleHelpText:{type:"CustomEvent",description:"Returnerer <code>event.detail { isOpen: true }</code> eller <code>event.detail { isOpen: false }</code> når hjelpeteksten åpnes eller lukkes"}},Xt={name:Bm,"css-class":"pkt-datepicker",isElement:Nm,props:jm,events:Pm};var Lm=Object.defineProperty,Om=Object.getOwnPropertyDescriptor,Ue=(e,t,n,r)=>{for(var i=r>1?void 0:r?Om(t,n):t,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=(r?u(t,n,i):u(i))||i);return r&&i&&Lm(t,n,i),i};const Kl=e=>new Promise(t=>setTimeout(t,e));let Ie=class extends Ye{constructor(){super(...arguments),this.value="",this._value=this.value?Array.isArray(this.value)?this.value:this.value.split(","):[],this.label="Datovelger",this.helptext="",this.helptextDropdown="",this.helptextDropdownButton=Xt.props.helptextDropdownButton.default,this.dateformat=Xt.props.dateformat.default,this.multiple=Xt.props.multiple.default,this.maxlength=Xt.props.maxlength.default,this.range=Xt.props.range.default,this.weeknumbers=Xt.props.weeknumbers.default,this.withcontrols=Xt.props.withcontrols.default,this.fullwidth=!1,this.excludedates=[],this.excludeweekdays=[],this.currentmonth=null,this.useWrapper=!0,this.calendarOpen=!1,this.inputRef=vt(),this.inputRefTo=vt(),this.btnRef=vt(),this.calRef=vt(),this.popupRef=vt(),this.inputClasses={"pkt-input":!0,"pkt-datepicker__input":!0,"pkt-input--fullwidth":this.fullwidth},this.buttonClasses={"pkt-input-icon":!0,"pkt-btn":!0,"pkt-btn--icon-only":!0,"pkt-btn--tertiary":!0},this.fromISOToDate=e=>{if(!e)return null;const t=new Date(e);return t.setHours(12,0,0,0),isNaN(t.getTime())?null:t},this.fromISOtoLocal=e=>{const t=new Date(e);return isNaN(t.getTime())?"":Am(t,this.dateformat)},this.massageDates=e=>{const t=e.map(n=>n??void 0);return this.multiple?t:this.range?t.slice(0,2):[t[0]]},this.addToSelected=e=>{const t=e.target,n=this.min?new Date(this.min):null,r=this.max?new Date(this.max):null,i=new Date(t.value.split(",")[0]);i.setHours(12,0,0,0),i&&!isNaN(i.getTime())&&(!n||i>=n)&&(!r||i<=r)&&this.calRef.value&&this.calRef.value.handleDateSelect(i),t.value=""}}async connectedCallback(){super.connectedCallback(),this.isMobileSafari=/iP(ad|od|hone)/i.test(window.navigator.userAgent)&&!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),this.inputType=this.isMobileSafari?"text":"date",document&&document.body.addEventListener("click",e=>{var t,n;(t=this.inputRef)!=null&&t.value&&(n=this.btnRef)!=null&&n.value&&!this.inputRef.value.contains(e.target)&&!(this.inputRefTo.value&&this.inputRefTo.value.contains(e.target))&&!this.btnRef.value.contains(e.target)&&!e.target.closest(".pkt-calendar-popup")&&this.calendarOpen&&(this.onBlur(),this.hideCalendar())}),this.value.length&&this._value.length===0&&(this._value=Array.isArray(this.value)?this.value:this.value.split(",")),this.min=this.min||Xt.props.min.default,this.max=this.max||Xt.props.max.default,typeof this.excludedates=="string"&&(this.excludedates=this.excludedates.split(",")),typeof this.excludeweekdays=="string"&&(this.excludeweekdays=this.excludeweekdays.split(",")),(this.multiple||this.range)&&this.name&&!this.name.endsWith("[]")&&(this.name=this.name+"[]"),this.calendarOpen&&(await Kl(20),this.handleCalendarPosition())}disconnectedCallback(){super.disconnectedCallback(),document&&document.body.removeEventListener("click",e=>{var t,n;(t=this.inputRef)!=null&&t.value&&(n=this.btnRef)!=null&&n.value&&!this.inputRef.value.contains(e.target)&&!this.btnRef.value.contains(e.target)&&this.hideCalendar()})}attributeChangedCallback(e,t,n){e==="value"&&this.valueChanged(this.value,t),e==="excludedates"&&typeof this.excludedates=="string"&&(this.excludedates=(n==null?void 0:n.split(","))??[]),e==="excludeweekdays"&&typeof this.excludeweekdays=="string"&&(this.excludeweekdays=(n==null?void 0:n.split(","))??[]),super.attributeChangedCallback(e,t,n)}firstUpdated(e){super.firstUpdated(e)}updated(e){if(super.updated(e),e.has("value")){if(this.range&&this._value.length===1)return;this.valueChanged(this.value,e.get("value"))}}formatISODate(e){return e.toISOString().split("T")[0]}renderInput(){return K`
386
386
  <input
387
387
  class="${He(this.inputClasses)}"
388
388
  .type=${this.inputType}
@@ -498,7 +498,7 @@ React keys must be passed directly to JSX without using spread:
498
498
  ?required=${this.required}
499
499
  ?optionalTag=${this.optionalTag}
500
500
  ?requiredTag=${this.requiredTag}
501
- ?focusPreventDefault=${!0}
501
+ ?useWrapper=${this.useWrapper}
502
502
  .optionalText=${this.optionalText}
503
503
  .requiredText=${this.requiredText}
504
504
  .errorMessage=${this.errorMessage}
@@ -525,7 +525,7 @@ React keys must be passed directly to JSX without using spread:
525
525
  </div>
526
526
  </pkt-input-wrapper>
527
527
  ${this.renderCalendar()}
528
- `}handleCalendarPosition(){var e;if(this.popupRef.value&&this.inputRef.value){const t=this.multiple&&!!this.maxlength,n=((e=this.inputRef.value.parentElement)==null?void 0:e.getBoundingClientRect())||this.inputRef.value.getBoundingClientRect(),r=t?n.height+30:n.height,i=this.popupRef.value.getBoundingClientRect().height;let o=t?"calc(100% - 30px)":"100%";n&&n.top+i>window.innerHeight&&n.top-i>0&&(o=`calc(100% - ${r}px - ${i}px)`),this.popupRef.value.style.top=o}}handleFocusOut(e){this.contains(e.target)||(this.onBlur(),this.hideCalendar())}async showCalendar(){var e;this.calendarOpen=!0,await Kl(20),this.handleCalendarPosition(),this.isMobileSafari&&((e=this.calRef.value)==null||e.focusOnCurrentDate())}hideCalendar(){this.calendarOpen=!1}async toggleCalendar(e){e.preventDefault(),this.calendarOpen?this.hideCalendar():this.showCalendar()}};Ye([O({type:String,reflect:!0})],Ie.prototype,"value",2),Ye([O({type:Array,reflect:!1})],Ie.prototype,"_value",2),Ye([O({type:String})],Ie.prototype,"label",2),Ye([O({type:String})],Ie.prototype,"helptext",2),Ye([O({type:String})],Ie.prototype,"helptextDropdown",2),Ye([O({type:String})],Ie.prototype,"helptextDropdownButton",2),Ye([O({type:String})],Ie.prototype,"dateformat",2),Ye([O({type:Boolean,reflect:!0})],Ie.prototype,"multiple",2),Ye([O({type:Number})],Ie.prototype,"maxlength",2),Ye([O({type:Boolean,reflect:!0})],Ie.prototype,"range",2),Ye([O({type:Boolean})],Ie.prototype,"weeknumbers",2),Ye([O({type:Boolean})],Ie.prototype,"withcontrols",2),Ye([O({type:Boolean})],Ie.prototype,"fullwidth",2),Ye([O({converter:rr.csvToArray})],Ie.prototype,"excludedates",2),Ye([O({converter:rr.csvToArray})],Ie.prototype,"excludeweekdays",2),Ye([O({type:String})],Ie.prototype,"currentmonth",2),Ye([O({type:Boolean,reflect:!0})],Ie.prototype,"calendarOpen",2),Ie=Ye([Ot("pkt-datepicker")],Ie);const Im="pkt-link",Mm=!0,Rm={href:{name:"URL",description:"URL til lenken",type:"string",default:"#"},target:{name:"Mål",description:"Mål for lenken",type:["_blank","_self","_parent","_top"],default:"_self"},iconName:{name:"Ikon",description:"Ikon som skal vises ved siden av lenketeksten",type:"icon"},iconPosition:{name:"Ikonposisjon",description:"Posisjonen til ikonet i forhold til lenketeksten",type:["left","right"]},external:{name:"Ekstern lenke",description:"Vis ikon for ekstern lenke",type:"boolean",default:!1}},qm={default:{description:"Innholdet i lenken"}},os={name:Im,"css-class":"pkt-link","dark-mode":!0,isElement:Mm,props:Rm,slots:qm};var Hm=Object.defineProperty,Um=Object.getOwnPropertyDescriptor,or=(e,t,n,r)=>{for(var i=r>1?void 0:r?Um(t,n):t,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=(r?u(t,n,i):u(i))||i);return r&&i&&Hm(t,n,i),i};let hn=class extends Bt{constructor(){super(),this.defaultSlot=vt(),this.href=os.props.href.default,this.iconName=void 0,this.iconPosition=void 0,this.external=os.props.external.default,this.target=os.props.target.default,this.slotController=new Tn(this,this.defaultSlot)}render(){const e={"pkt-link":!0,"pkt-link--icon-left":!!this.iconName&&this.iconPosition==="left"||!!(this.iconName&&!this.iconPosition),"pkt-link--icon-right":!!this.iconName&&this.iconPosition==="right","pkt-link--external":this.external};return K`<a
528
+ `}handleCalendarPosition(){var e;if(this.popupRef.value&&this.inputRef.value){const t=this.multiple&&!!this.maxlength,n=((e=this.inputRef.value.parentElement)==null?void 0:e.getBoundingClientRect())||this.inputRef.value.getBoundingClientRect(),r=t?n.height+30:n.height,i=this.popupRef.value.getBoundingClientRect().height;let o=t?"calc(100% - 30px)":"100%";n&&n.top+i>window.innerHeight&&n.top-i>0&&(o=`calc(100% - ${r}px - ${i}px)`),this.popupRef.value.style.top=o}}handleFocusOut(e){this.contains(e.target)||(this.onBlur(),this.hideCalendar())}async showCalendar(){var e;this.calendarOpen=!0,await Kl(20),this.handleCalendarPosition(),this.isMobileSafari&&((e=this.calRef.value)==null||e.focusOnCurrentDate())}hideCalendar(){this.calendarOpen=!1}async toggleCalendar(e){e.preventDefault(),this.calendarOpen?this.hideCalendar():this.showCalendar()}};Ue([O({type:String,reflect:!0})],Ie.prototype,"value",2),Ue([O({type:Array,reflect:!1})],Ie.prototype,"_value",2),Ue([O({type:String})],Ie.prototype,"label",2),Ue([O({type:String})],Ie.prototype,"helptext",2),Ue([O({type:String})],Ie.prototype,"helptextDropdown",2),Ue([O({type:String})],Ie.prototype,"helptextDropdownButton",2),Ue([O({type:String})],Ie.prototype,"dateformat",2),Ue([O({type:Boolean,reflect:!0})],Ie.prototype,"multiple",2),Ue([O({type:Number})],Ie.prototype,"maxlength",2),Ue([O({type:Boolean,reflect:!0})],Ie.prototype,"range",2),Ue([O({type:Boolean})],Ie.prototype,"weeknumbers",2),Ue([O({type:Boolean})],Ie.prototype,"withcontrols",2),Ue([O({type:Boolean})],Ie.prototype,"fullwidth",2),Ue([O({converter:rr.csvToArray})],Ie.prototype,"excludedates",2),Ue([O({converter:rr.csvToArray})],Ie.prototype,"excludeweekdays",2),Ue([O({type:String})],Ie.prototype,"currentmonth",2),Ue([O({type:Boolean})],Ie.prototype,"useWrapper",2),Ue([O({type:Boolean,reflect:!0})],Ie.prototype,"calendarOpen",2),Ie=Ue([Ot("pkt-datepicker")],Ie);const Im="pkt-link",Mm=!0,Rm={href:{name:"URL",description:"URL til lenken",type:"string",default:"#"},target:{name:"Mål",description:"Mål for lenken",type:["_blank","_self","_parent","_top"],default:"_self"},iconName:{name:"Ikon",description:"Ikon som skal vises ved siden av lenketeksten",type:"icon"},iconPosition:{name:"Ikonposisjon",description:"Posisjonen til ikonet i forhold til lenketeksten",type:["left","right"]},external:{name:"Ekstern lenke",description:"Vis ikon for ekstern lenke",type:"boolean",default:!1}},qm={default:{description:"Innholdet i lenken"}},os={name:Im,"css-class":"pkt-link","dark-mode":!0,isElement:Mm,props:Rm,slots:qm};var Hm=Object.defineProperty,Um=Object.getOwnPropertyDescriptor,or=(e,t,n,r)=>{for(var i=r>1?void 0:r?Um(t,n):t,o=e.length-1,u;o>=0;o--)(u=e[o])&&(i=(r?u(t,n,i):u(i))||i);return r&&i&&Hm(t,n,i),i};let hn=class extends Bt{constructor(){super(),this.defaultSlot=vt(),this.href=os.props.href.default,this.iconName=void 0,this.iconPosition=void 0,this.external=os.props.external.default,this.target=os.props.target.default,this.slotController=new Tn(this,this.defaultSlot)}render(){const e={"pkt-link":!0,"pkt-link--icon-left":!!this.iconName&&this.iconPosition==="left"||!!(this.iconName&&!this.iconPosition),"pkt-link--icon-right":!!this.iconName&&this.iconPosition==="right","pkt-link--external":this.external};return K`<a
529
529
  class=${He(e)}
530
530
  href=${this.href}
531
531
  @click=${this.handleClick}
@@ -621,25 +621,25 @@ in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",cate
621
621
  Expected it to be 'string' or 'object'.`;if(Z(a))throw new Error("doc is valid.");let l=Object.prototype.toString.call(a);if(l!=="[object Object]")return`Unexpected doc '${l}'.`;let p=le([...Q].map(f=>`'${f}'`));return`Unexpected doc.type '${a.type}'.
622
622
  Expected it to be ${p}.`}var ae=class extends Error{constructor(s){super(me(s));$r(this,"name","InvalidDocError");this.doc=s}},ye=ae,at=()=>{},Ne=at;function Fe(a){return{type:A,contents:a}}function je(a,s){return{type:_,contents:s,n:a}}function ue(a,s={}){return Ne(s.expandedStates),{type:P,id:s.id,contents:a,break:!!s.shouldBreak,expandedStates:s.expandedStates}}function ft(a){return je(Number.NEGATIVE_INFINITY,a)}function At(a){return je({type:"root"},a)}function bt(a){return{type:I,parts:a}}function kt(a,s="",l={}){return{type:j,breakContents:a,flatContents:s,groupId:l.groupId}}function kn(a,s){return{type:V,contents:a,groupId:s.groupId,negate:s.negate}}var wt={type:H},X={type:L,hard:!0},Wt={type:L,hard:!0,literal:!0},_e={type:L},Le={type:L,soft:!0},Ee=[X,wt],wr=[Wt,wt];function wn(a,s){let l=[];for(let p=0;p<s.length;p++)p!==0&&l.push(a),l.push(s[p]);return l}var yo=(a,s,l)=>{if(!(a&&s==null))return Array.isArray(s)||typeof s=="string"?s[l<0?s.length+l:l]:s.at(l)},ln=yo;function la(a,s){if(typeof a=="string")return s(a);let l=new Map;return p(a);function p(D){if(l.has(D))return l.get(D);let E=f(D);return l.set(D,E),E}function f(D){switch(Z(D)){case F:return s(D.map(p));case I:return s({...D,parts:D.parts.map(p)});case j:return s({...D,breakContents:p(D.breakContents),flatContents:p(D.flatContents)});case P:{let{expandedStates:E,contents:B}=D;return E?(E=E.map(p),B=E[0]):B=p(B),s({...D,contents:B,expandedStates:E})}case _:case A:case V:case N:case J:return s({...D,contents:p(D.contents)});case T:case S:case $:case G:case L:case H:return s(D);default:throw new ye(D)}}}function Do(a){switch(Z(a)){case I:if(a.parts.every(s=>s===""))return"";break;case P:if(!a.contents&&!a.id&&!a.break&&!a.expandedStates)return"";if(a.contents.type===P&&a.contents.id===a.id&&a.contents.break===a.break&&a.contents.expandedStates===a.expandedStates)return a.contents;break;case _:case A:case V:case J:if(!a.contents)return"";break;case j:if(!a.flatContents&&!a.breakContents)return"";break;case F:{let s=[];for(let l of a){if(!l)continue;let[p,...f]=Array.isArray(l)?l:[l];typeof p=="string"&&typeof ln(!1,s,-1)=="string"?s[s.length-1]+=p:s.push(p),s.push(...f)}return s.length===0?"":s.length===1?s[0]:s}case T:case S:case $:case G:case L:case N:case H:break;default:throw new ye(a)}return a}function gi(a){return la(a,s=>Do(s))}function mt(a,s=wr){return la(a,l=>typeof l=="string"?wn(s,l.split(`
623
623
  `)):l)}var Vt="'",vi='"';function yi(a,s){let l=s===!0||s===Vt?Vt:vi,p=l===Vt?vi:Vt,f=0,D=0;for(let E of a)E===l?f++:E===p&&D++;return f>D?p:l}var Di=yi;function ua(a){if(typeof a!="string")throw new TypeError("Expected a string");return a.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Ct,bo=class{constructor(a){y(this,Ct),b(this,Ct,new Set(a))}getLeadingWhitespaceCount(a){let s=v(this,Ct),l=0;for(let p=0;p<a.length&&s.has(a.charAt(p));p++)l++;return l}getTrailingWhitespaceCount(a){let s=v(this,Ct),l=0;for(let p=a.length-1;p>=0&&s.has(a.charAt(p));p--)l++;return l}getLeadingWhitespace(a){let s=this.getLeadingWhitespaceCount(a);return a.slice(0,s)}getTrailingWhitespace(a){let s=this.getTrailingWhitespaceCount(a);return a.slice(a.length-s)}hasLeadingWhitespace(a){return v(this,Ct).has(a.charAt(0))}hasTrailingWhitespace(a){return v(this,Ct).has(ln(!1,a,-1))}trimStart(a){let s=this.getLeadingWhitespaceCount(a);return a.slice(s)}trimEnd(a){let s=this.getTrailingWhitespaceCount(a);return a.slice(0,a.length-s)}trim(a){return this.trimEnd(this.trimStart(a))}split(a,s=!1){let l=`[${ua([...v(this,Ct)].join(""))}]+`,p=new RegExp(s?`(${l})`:l,"u");return a.split(p)}hasWhitespaceCharacter(a){let s=v(this,Ct);return Array.prototype.some.call(a,l=>s.has(l))}hasNonWhitespaceCharacter(a){let s=v(this,Ct);return Array.prototype.some.call(a,l=>!s.has(l))}isWhitespaceOnly(a){let s=v(this,Ct);return Array.prototype.every.call(a,l=>s.has(l))}};Ct=new WeakMap;var ko=bo,wo=[" ",`
624
- `,"\f","\r"," "],Co=new ko(wo),$t=Co,_o=class extends Error{constructor(s,l,p="type"){super(`Unexpected ${l} node ${p}: ${JSON.stringify(s[p])}.`);$r(this,"name","UnexpectedNodeError");this.node=s}},ca=_o;function bi(a){return(a==null?void 0:a.type)==="front-matter"}var Pt=bi,pa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),da=new Set(["if","else if","for","switch","case"]);function ha(a,s){var l;if(a.type==="text"||a.type==="comment"||Pt(a)||a.type==="yaml"||a.type==="toml")return null;if(a.type==="attribute"&&delete s.value,a.type==="docType"&&delete s.value,a.type==="angularControlFlowBlock"&&(l=a.parameters)!=null&&l.children)for(let p of s.parameters.children)da.has(a.name)?delete p.expression:p.expression=p.expression.trim();a.type==="angularIcuExpression"&&(s.switchValue=a.switchValue.trim()),a.type==="angularLetDeclarationInitializer"&&delete s.value}ha.ignoredProperties=pa;var xo=ha;async function ki(a,s){if(a.language==="yaml"){let l=a.value.trim(),p=l?await s(l,{parser:"yaml"}):"";return At([a.startDelimiter,a.explicitLanguage,Ee,p,p?Ee:"",a.endDelimiter])}}var So=ki;function Jn(a,s=!0){return[Fe([Le,a]),s?Le:""]}function un(a,s){let l=a.type==="NGRoot"?a.node.type==="NGMicrosyntax"&&a.node.body.length===1&&a.node.body[0].type==="NGMicrosyntaxExpression"?a.node.body[0].expression:a.node:a.type==="JsExpressionRoot"?a.node:a;return l&&(l.type==="ObjectExpression"||l.type==="ArrayExpression"||(s.parser==="__vue_expression"||s.parser==="__vue_ts_expression")&&(l.type==="TemplateLiteral"||l.type==="StringLiteral"))}async function _t(a,s,l,p){l={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...l};let f=!0;p&&(l.__onHtmlBindingRoot=(E,B)=>{f=p(E,B)});let D=await s(a,l,s);return f?ue(D):Jn(D)}function Eo(a,s,l,p){let{node:f}=l,D=p.originalText.slice(f.sourceSpan.start.offset,f.sourceSpan.end.offset);return/^\s*$/u.test(D)?"":_t(D,a,{parser:"__ng_directive",__isInHtmlAttribute:!1},un)}var wi=Eo,Ci=a=>String(a).split(/[/\\]/u).pop();function _i(a,s){if(!s)return;let l=Ci(s).toLowerCase();return a.find(({filenames:p})=>p==null?void 0:p.some(f=>f.toLowerCase()===l))??a.find(({extensions:p})=>p==null?void 0:p.some(f=>l.endsWith(f)))}function Fo(a,s){if(s)return a.find(({name:l})=>l.toLowerCase()===s)??a.find(({aliases:l})=>l==null?void 0:l.includes(s))??a.find(({extensions:l})=>l==null?void 0:l.includes(`.${s}`))}function Ao(a,s){let l=a.plugins.flatMap(f=>f.languages??[]),p=Fo(l,s.language)??_i(l,s.physicalFile)??_i(l,s.file)??(s.physicalFile,void 0);return p==null?void 0:p.parsers[0]}var Cr=Ao,w="inline",R={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},U="normal",te={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function De(a){return a.type==="element"&&!a.hasExplicitNamespace&&!["html","svg"].includes(a.namespace)}var ve=De,he=a=>C(!1,a,/^[\t\f\r ]*\n/gu,""),ie=a=>he($t.trimEnd(a)),et=a=>{let s=a,l=$t.getLeadingWhitespace(s);l&&(s=s.slice(l.length));let p=$t.getTrailingWhitespace(s);return p&&(s=s.slice(0,-p.length)),{leadingWhitespace:l,trailingWhitespace:p,text:s}};function Be(a,s){return!!(a.type==="ieConditionalComment"&&a.lastChild&&!a.lastChild.isSelfClosing&&!a.lastChild.endSourceSpan||a.type==="ieConditionalComment"&&!a.complete||_r(a)&&a.children.some(l=>l.type!=="text"&&l.type!=="interpolation")||No(a,s)&&!tt(a)&&a.type!=="interpolation")}function Te(a){return a.type==="attribute"||!a.parent||!a.prev?!1:gt(a.prev)}function gt(a){return a.type==="comment"&&a.value.trim()==="prettier-ignore"}function Ue(a){return a.type==="text"||a.type==="comment"}function tt(a){return a.type==="element"&&(a.fullName==="script"||a.fullName==="style"||a.fullName==="svg:style"||a.fullName==="svg:script"||ve(a)&&(a.name==="script"||a.name==="style"))}function it(a){return a.children&&!tt(a)}function fa(a){return tt(a)||a.type==="interpolation"||xi(a)}function xi(a){return Gp(a).startsWith("pre")}function $o(a,s){var l,p;let f=D();if(f&&!a.prev&&(p=(l=a.parent)==null?void 0:l.tagDefinition)!=null&&p.ignoreFirstLf)return a.type==="interpolation";return f;function D(){return Pt(a)||a.type==="angularControlFlowBlock"?!1:(a.type==="text"||a.type==="interpolation")&&a.prev&&(a.prev.type==="text"||a.prev.type==="interpolation")?!0:!a.parent||a.parent.cssDisplay==="none"?!1:_r(a.parent)?!0:!(!a.prev&&(a.parent.type==="root"||_r(a)&&a.parent||tt(a.parent)||Ei(a.parent,s)||!Fk(a.parent.cssDisplay))||a.prev&&!Tk(a.prev.cssDisplay))}}function bk(a,s){return Pt(a)||a.type==="angularControlFlowBlock"?!1:(a.type==="text"||a.type==="interpolation")&&a.next&&(a.next.type==="text"||a.next.type==="interpolation")?!0:!a.parent||a.parent.cssDisplay==="none"?!1:_r(a.parent)?!0:!(!a.next&&(a.parent.type==="root"||_r(a)&&a.parent||tt(a.parent)||Ei(a.parent,s)||!Ak(a.parent.cssDisplay))||a.next&&!$k(a.next.cssDisplay))}function kk(a){return Bk(a.cssDisplay)&&!tt(a)}function Si(a){return Pt(a)||a.next&&a.sourceSpan.end&&a.sourceSpan.end.line+1<a.next.sourceSpan.start.line}function wk(a){return Rp(a)||a.type==="element"&&a.children.length>0&&(["body","script","style"].includes(a.name)||a.children.some(s=>_k(s)))||a.firstChild&&a.firstChild===a.lastChild&&a.firstChild.type!=="text"&&Hp(a.firstChild)&&(!a.lastChild.isTrailingSpaceSensitive||Up(a.lastChild))}function Rp(a){return a.type==="element"&&a.children.length>0&&(["html","head","ul","ol","select"].includes(a.name)||a.cssDisplay.startsWith("table")&&a.cssDisplay!=="table-cell")}function To(a){return Wp(a)||a.prev&&Ck(a.prev)||qp(a)}function Ck(a){return Wp(a)||a.type==="element"&&a.fullName==="br"||qp(a)}function qp(a){return Hp(a)&&Up(a)}function Hp(a){return a.hasLeadingSpaces&&(a.prev?a.prev.sourceSpan.end.line<a.sourceSpan.start.line:a.parent.type==="root"||a.parent.startSourceSpan.end.line<a.sourceSpan.start.line)}function Up(a){return a.hasTrailingSpaces&&(a.next?a.next.sourceSpan.start.line>a.sourceSpan.end.line:a.parent.type==="root"||a.parent.endSourceSpan&&a.parent.endSourceSpan.start.line>a.sourceSpan.end.line)}function Wp(a){switch(a.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(a.name)}return!1}function Bo(a){return a.lastChild?Bo(a.lastChild):a}function _k(a){var s;return(s=a.children)==null?void 0:s.some(l=>l.type!=="text")}function Vp(a){if(a)switch(a){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(a.endsWith("json")||a.endsWith("importmap")||a==="speculationrules")return"json"}}function xk(a,s){let{name:l,attrMap:p}=a;if(l!=="script"||Object.prototype.hasOwnProperty.call(p,"src"))return;let{type:f,lang:D}=a.attrMap;return!D&&!f?"babel":Cr(s,{language:D})??Vp(f)}function Sk(a,s){if(!No(a,s))return;let{attrMap:l}=a;if(Object.prototype.hasOwnProperty.call(l,"src"))return;let{type:p,lang:f}=l;return Cr(s,{language:f})??Vp(p)}function Ek(a,s){if(a.name!=="style")return;let{lang:l}=a.attrMap;return l?Cr(s,{language:l}):"css"}function zp(a,s){return xk(a,s)??Ek(a,s)??Sk(a,s)}function ma(a){return a==="block"||a==="list-item"||a.startsWith("table")}function Fk(a){return!ma(a)&&a!=="inline-block"}function Ak(a){return!ma(a)&&a!=="inline-block"}function $k(a){return!ma(a)}function Tk(a){return!ma(a)}function Bk(a){return!ma(a)&&a!=="inline-block"}function _r(a){return Gp(a).startsWith("pre")}function Nk(a,s){let l=a;for(;l;){if(s(l))return!0;l=l.parent}return!1}function jk(a,s){var l;if(xr(a,s))return"block";if(((l=a.prev)==null?void 0:l.type)==="comment"){let f=a.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(f)return f[1]}let p=!1;if(a.type==="element"&&a.namespace==="svg")if(Nk(a,f=>f.fullName==="svg:foreignObject"))p=!0;else return a.name==="svg"?"inline-block":"block";switch(s.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return a.type==="element"&&(!a.namespace||p||ve(a))&&R[a.name]||w}}function Gp(a){return a.type==="element"&&(!a.namespace||ve(a))&&te[a.name]||U}function Pk(a){let s=Number.POSITIVE_INFINITY;for(let l of a.split(`
624
+ `,"\f","\r"," "],Co=new ko(wo),$t=Co,_o=class extends Error{constructor(s,l,p="type"){super(`Unexpected ${l} node ${p}: ${JSON.stringify(s[p])}.`);$r(this,"name","UnexpectedNodeError");this.node=s}},ca=_o;function bi(a){return(a==null?void 0:a.type)==="front-matter"}var Pt=bi,pa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),da=new Set(["if","else if","for","switch","case"]);function ha(a,s){var l;if(a.type==="text"||a.type==="comment"||Pt(a)||a.type==="yaml"||a.type==="toml")return null;if(a.type==="attribute"&&delete s.value,a.type==="docType"&&delete s.value,a.type==="angularControlFlowBlock"&&(l=a.parameters)!=null&&l.children)for(let p of s.parameters.children)da.has(a.name)?delete p.expression:p.expression=p.expression.trim();a.type==="angularIcuExpression"&&(s.switchValue=a.switchValue.trim()),a.type==="angularLetDeclarationInitializer"&&delete s.value}ha.ignoredProperties=pa;var xo=ha;async function ki(a,s){if(a.language==="yaml"){let l=a.value.trim(),p=l?await s(l,{parser:"yaml"}):"";return At([a.startDelimiter,a.explicitLanguage,Ee,p,p?Ee:"",a.endDelimiter])}}var So=ki;function Jn(a,s=!0){return[Fe([Le,a]),s?Le:""]}function un(a,s){let l=a.type==="NGRoot"?a.node.type==="NGMicrosyntax"&&a.node.body.length===1&&a.node.body[0].type==="NGMicrosyntaxExpression"?a.node.body[0].expression:a.node:a.type==="JsExpressionRoot"?a.node:a;return l&&(l.type==="ObjectExpression"||l.type==="ArrayExpression"||(s.parser==="__vue_expression"||s.parser==="__vue_ts_expression")&&(l.type==="TemplateLiteral"||l.type==="StringLiteral"))}async function _t(a,s,l,p){l={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...l};let f=!0;p&&(l.__onHtmlBindingRoot=(E,B)=>{f=p(E,B)});let D=await s(a,l,s);return f?ue(D):Jn(D)}function Eo(a,s,l,p){let{node:f}=l,D=p.originalText.slice(f.sourceSpan.start.offset,f.sourceSpan.end.offset);return/^\s*$/u.test(D)?"":_t(D,a,{parser:"__ng_directive",__isInHtmlAttribute:!1},un)}var wi=Eo,Ci=a=>String(a).split(/[/\\]/u).pop();function _i(a,s){if(!s)return;let l=Ci(s).toLowerCase();return a.find(({filenames:p})=>p==null?void 0:p.some(f=>f.toLowerCase()===l))??a.find(({extensions:p})=>p==null?void 0:p.some(f=>l.endsWith(f)))}function Fo(a,s){if(s)return a.find(({name:l})=>l.toLowerCase()===s)??a.find(({aliases:l})=>l==null?void 0:l.includes(s))??a.find(({extensions:l})=>l==null?void 0:l.includes(`.${s}`))}function Ao(a,s){let l=a.plugins.flatMap(f=>f.languages??[]),p=Fo(l,s.language)??_i(l,s.physicalFile)??_i(l,s.file)??(s.physicalFile,void 0);return p==null?void 0:p.parsers[0]}var Cr=Ao,w="inline",R={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},U="normal",te={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function De(a){return a.type==="element"&&!a.hasExplicitNamespace&&!["html","svg"].includes(a.namespace)}var ve=De,he=a=>C(!1,a,/^[\t\f\r ]*\n/gu,""),ie=a=>he($t.trimEnd(a)),et=a=>{let s=a,l=$t.getLeadingWhitespace(s);l&&(s=s.slice(l.length));let p=$t.getTrailingWhitespace(s);return p&&(s=s.slice(0,-p.length)),{leadingWhitespace:l,trailingWhitespace:p,text:s}};function Be(a,s){return!!(a.type==="ieConditionalComment"&&a.lastChild&&!a.lastChild.isSelfClosing&&!a.lastChild.endSourceSpan||a.type==="ieConditionalComment"&&!a.complete||_r(a)&&a.children.some(l=>l.type!=="text"&&l.type!=="interpolation")||No(a,s)&&!tt(a)&&a.type!=="interpolation")}function Te(a){return a.type==="attribute"||!a.parent||!a.prev?!1:gt(a.prev)}function gt(a){return a.type==="comment"&&a.value.trim()==="prettier-ignore"}function We(a){return a.type==="text"||a.type==="comment"}function tt(a){return a.type==="element"&&(a.fullName==="script"||a.fullName==="style"||a.fullName==="svg:style"||a.fullName==="svg:script"||ve(a)&&(a.name==="script"||a.name==="style"))}function it(a){return a.children&&!tt(a)}function fa(a){return tt(a)||a.type==="interpolation"||xi(a)}function xi(a){return Gp(a).startsWith("pre")}function $o(a,s){var l,p;let f=D();if(f&&!a.prev&&(p=(l=a.parent)==null?void 0:l.tagDefinition)!=null&&p.ignoreFirstLf)return a.type==="interpolation";return f;function D(){return Pt(a)||a.type==="angularControlFlowBlock"?!1:(a.type==="text"||a.type==="interpolation")&&a.prev&&(a.prev.type==="text"||a.prev.type==="interpolation")?!0:!a.parent||a.parent.cssDisplay==="none"?!1:_r(a.parent)?!0:!(!a.prev&&(a.parent.type==="root"||_r(a)&&a.parent||tt(a.parent)||Ei(a.parent,s)||!Fk(a.parent.cssDisplay))||a.prev&&!Tk(a.prev.cssDisplay))}}function bk(a,s){return Pt(a)||a.type==="angularControlFlowBlock"?!1:(a.type==="text"||a.type==="interpolation")&&a.next&&(a.next.type==="text"||a.next.type==="interpolation")?!0:!a.parent||a.parent.cssDisplay==="none"?!1:_r(a.parent)?!0:!(!a.next&&(a.parent.type==="root"||_r(a)&&a.parent||tt(a.parent)||Ei(a.parent,s)||!Ak(a.parent.cssDisplay))||a.next&&!$k(a.next.cssDisplay))}function kk(a){return Bk(a.cssDisplay)&&!tt(a)}function Si(a){return Pt(a)||a.next&&a.sourceSpan.end&&a.sourceSpan.end.line+1<a.next.sourceSpan.start.line}function wk(a){return Rp(a)||a.type==="element"&&a.children.length>0&&(["body","script","style"].includes(a.name)||a.children.some(s=>_k(s)))||a.firstChild&&a.firstChild===a.lastChild&&a.firstChild.type!=="text"&&Hp(a.firstChild)&&(!a.lastChild.isTrailingSpaceSensitive||Up(a.lastChild))}function Rp(a){return a.type==="element"&&a.children.length>0&&(["html","head","ul","ol","select"].includes(a.name)||a.cssDisplay.startsWith("table")&&a.cssDisplay!=="table-cell")}function To(a){return Wp(a)||a.prev&&Ck(a.prev)||qp(a)}function Ck(a){return Wp(a)||a.type==="element"&&a.fullName==="br"||qp(a)}function qp(a){return Hp(a)&&Up(a)}function Hp(a){return a.hasLeadingSpaces&&(a.prev?a.prev.sourceSpan.end.line<a.sourceSpan.start.line:a.parent.type==="root"||a.parent.startSourceSpan.end.line<a.sourceSpan.start.line)}function Up(a){return a.hasTrailingSpaces&&(a.next?a.next.sourceSpan.start.line>a.sourceSpan.end.line:a.parent.type==="root"||a.parent.endSourceSpan&&a.parent.endSourceSpan.start.line>a.sourceSpan.end.line)}function Wp(a){switch(a.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(a.name)}return!1}function Bo(a){return a.lastChild?Bo(a.lastChild):a}function _k(a){var s;return(s=a.children)==null?void 0:s.some(l=>l.type!=="text")}function Vp(a){if(a)switch(a){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(a.endsWith("json")||a.endsWith("importmap")||a==="speculationrules")return"json"}}function xk(a,s){let{name:l,attrMap:p}=a;if(l!=="script"||Object.prototype.hasOwnProperty.call(p,"src"))return;let{type:f,lang:D}=a.attrMap;return!D&&!f?"babel":Cr(s,{language:D})??Vp(f)}function Sk(a,s){if(!No(a,s))return;let{attrMap:l}=a;if(Object.prototype.hasOwnProperty.call(l,"src"))return;let{type:p,lang:f}=l;return Cr(s,{language:f})??Vp(p)}function Ek(a,s){if(a.name!=="style")return;let{lang:l}=a.attrMap;return l?Cr(s,{language:l}):"css"}function zp(a,s){return xk(a,s)??Ek(a,s)??Sk(a,s)}function ma(a){return a==="block"||a==="list-item"||a.startsWith("table")}function Fk(a){return!ma(a)&&a!=="inline-block"}function Ak(a){return!ma(a)&&a!=="inline-block"}function $k(a){return!ma(a)}function Tk(a){return!ma(a)}function Bk(a){return!ma(a)&&a!=="inline-block"}function _r(a){return Gp(a).startsWith("pre")}function Nk(a,s){let l=a;for(;l;){if(s(l))return!0;l=l.parent}return!1}function jk(a,s){var l;if(xr(a,s))return"block";if(((l=a.prev)==null?void 0:l.type)==="comment"){let f=a.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(f)return f[1]}let p=!1;if(a.type==="element"&&a.namespace==="svg")if(Nk(a,f=>f.fullName==="svg:foreignObject"))p=!0;else return a.name==="svg"?"inline-block":"block";switch(s.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return a.type==="element"&&(!a.namespace||p||ve(a))&&R[a.name]||w}}function Gp(a){return a.type==="element"&&(!a.namespace||ve(a))&&te[a.name]||U}function Pk(a){let s=Number.POSITIVE_INFINITY;for(let l of a.split(`
625
625
  `)){if(l.length===0)continue;let p=$t.getLeadingWhitespaceCount(l);if(p===0)return 0;l.length!==p&&p<s&&(s=p)}return s===Number.POSITIVE_INFINITY?0:s}function Yp(a,s=Pk(a)){return s===0?a:a.split(`
626
626
  `).map(l=>l.slice(s)).join(`
627
627
  `)}function Kp(a){return C(!1,C(!1,a,"&apos;","'"),"&quot;",'"')}function Cn(a){return Kp(a.value)}var Lk=new Set(["template","style","script"]);function Ei(a,s){return xr(a,s)&&!Lk.has(a.fullName)}function xr(a,s){return s.parser==="vue"&&a.type==="element"&&a.parent.type==="root"&&a.fullName.toLowerCase()!=="html"}function No(a,s){return xr(a,s)&&(Ei(a,s)||a.attrMap.lang&&a.attrMap.lang!=="html")}function Ok(a){let s=a.fullName;return s.charAt(0)==="#"||s==="slot-scope"||s==="v-slot"||s.startsWith("v-slot:")}function Ik(a,s){let l=a.parent;if(!xr(l,s))return!1;let p=l.fullName,f=a.fullName;return p==="script"&&f==="setup"||p==="style"&&f==="vars"}function Jp(a,s=a.value){return a.parent.isWhitespaceSensitive?a.parent.isIndentationSensitive?mt(s):mt(Yp(ie(s)),Ee):wn(_e,$t.split(s))}function Xp(a,s){return xr(a,s)&&a.name==="script"}var Qp=/\{\{(.+?)\}\}/su;async function Mk(a,s){let l=[];for(let[p,f]of a.split(Qp).entries())if(p%2===0)l.push(mt(f));else try{l.push(ue(["{{",Fe([_e,await _t(f,s,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),_e,"}}"]))}catch{l.push("{{",mt(f),"}}")}return l}function jo({parser:a}){return(s,l,p)=>_t(Cn(p.node),s,{parser:a},un)}var Rk=jo({parser:"__ng_action"}),qk=jo({parser:"__ng_binding"}),Hk=jo({parser:"__ng_directive"});function Uk(a,s){if(s.parser!=="angular")return;let{node:l}=a,p=l.fullName;if(p.startsWith("(")&&p.endsWith(")")||p.startsWith("on-"))return Rk;if(p.startsWith("[")&&p.endsWith("]")||/^bind(?:on)?-/u.test(p)||/^ng-(?:if|show|hide|class|style)$/u.test(p))return qk;if(p.startsWith("*"))return Hk;let f=Cn(l);if(/^i18n(?:-.+)?$/u.test(p))return()=>Jn(bt(Jp(l,f.trim())),!f.includes("@@"));if(Qp.test(f))return D=>Mk(f,D)}var Wk=Uk;function Vk(a,s){let{node:l}=a,p=Cn(l);if(l.fullName==="class"&&!s.parentParser&&!p.includes("{{"))return()=>p.trim().split(/\s+/u).join(" ")}var zk=Vk;function Zp(a){return a===" "||a===`
628
- `||a==="\f"||a==="\r"||a===" "}var Gk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Kk=/^[^ \t\n\r\u000c]+/,Jk=/[,]+$/,ed=/^\d+$/,Xk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Qk(a){let s=a.length,l,p,f,D,E,B=0,q;function Y(pe){let Ae,We=pe.exec(a.substring(B));if(We)return[Ae]=We,B+=Ae.length,Ae}let W=[];for(;;){if(Y(Yk),B>=s){if(W.length===0)throw new Error("Must contain one or more image candidate strings.");return W}q=B,l=Y(Kk),p=[],l.slice(-1)===","?(l=l.replace(Jk,""),ge()):we()}function we(){for(Y(Gk),f="",D="in descriptor";;){if(E=a.charAt(B),D==="in descriptor")if(Zp(E))f&&(p.push(f),f="",D="after descriptor");else if(E===","){B+=1,f&&p.push(f),ge();return}else if(E==="(")f+=E,D="in parens";else if(E===""){f&&p.push(f),ge();return}else f+=E;else if(D==="in parens")if(E===")")f+=E,D="in descriptor";else if(E===""){p.push(f),ge();return}else f+=E;else if(D==="after descriptor"&&!Zp(E))if(E===""){ge();return}else D="in descriptor",B-=1;B+=1}}function ge(){let pe=!1,Ae,We,nt,st,z={},de,Ve,qe,ct,Ar;for(st=0;st<p.length;st++)de=p[st],Ve=de[de.length-1],qe=de.substring(0,de.length-1),ct=parseInt(qe,10),Ar=parseFloat(qe),ed.test(qe)&&Ve==="w"?((Ae||We)&&(pe=!0),ct===0?pe=!0:Ae=ct):Xk.test(qe)&&Ve==="x"?((Ae||We||nt)&&(pe=!0),Ar<0?pe=!0:We=Ar):ed.test(qe)&&Ve==="h"?((nt||We)&&(pe=!0),ct===0?pe=!0:nt=ct):pe=!0;if(!pe)z.source={value:l,startOffset:q},Ae&&(z.width={value:Ae}),We&&(z.density={value:We}),nt&&(z.height={value:nt}),W.push(z);else throw new Error(`Invalid srcset descriptor found in "${a}" at "${de}".`)}}var Zk=Qk;function e1(a){if(a.node.fullName==="srcset"&&(a.parent.fullName==="img"||a.parent.fullName==="source"))return()=>n1(Cn(a.node))}var td={width:"w",height:"h",density:"x"},t1=Object.keys(td);function n1(a){let s=Zk(a),l=t1.filter(W=>s.some(we=>Object.prototype.hasOwnProperty.call(we,W)));if(l.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[p]=l,f=td[p],D=s.map(W=>W.source.value),E=Math.max(...D.map(W=>W.length)),B=s.map(W=>W[p]?String(W[p].value):""),q=B.map(W=>{let we=W.indexOf(".");return we===-1?W.length:we}),Y=Math.max(...q);return Jn(wn([",",_e],D.map((W,we)=>{let ge=[W],pe=B[we];if(pe){let Ae=E-W.length+1,We=Y-q[we],nt=" ".repeat(Ae+We);ge.push(kt(nt," "),pe+f)}return ge})))}var r1=e1;function a1(a,s){let{node:l}=a,p=Cn(a.node).trim();if(l.fullName==="style"&&!s.parentParser&&!p.includes("{{"))return async f=>Jn(await f(p,{parser:"css",__isHTMLStyleAttribute:!0}))}var Po=new WeakMap;function i1(a,s){let{root:l}=a;return Po.has(l)||Po.set(l,l.children.some(p=>Xp(p,s)&&["ts","typescript"].includes(p.attrMap.lang))),Po.get(l)}var Lo=i1;function s1(a,s,l){let{node:p}=l,f=Cn(p);return _t(`type T<${f}> = any`,a,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},un)}function o1(a,s,{parseWithTs:l}){return _t(`function _(${a}) {}`,s,{parser:l?"babel-ts":"babel",__isVueBindings:!0})}function l1(a){let s=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,l=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,p=a.trim();return s.test(p)||l.test(p)}async function u1(a,s,l,p){let f=Cn(l.node),{left:D,operator:E,right:B}=c1(f),q=Lo(l,p);return[ue(await _t(`function _(${D}) {}`,a,{parser:q?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",E," ",await _t(B,a,{parser:q?"__ts_expression":"__js_expression"})]}function c1(a){let s=/(.*?)\s+(in|of)\s+(.*)/su,l=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,p=/^\(|\)$/gu,f=a.match(s);if(!f)return;let D={};if(D.for=f[3].trim(),!D.for)return;let E=C(!1,f[1].trim(),p,""),B=E.match(l);B?(D.alias=E.replace(l,""),D.iterator1=B[1].trim(),B[2]&&(D.iterator2=B[2].trim())):D.alias=E;let q=[D.alias,D.iterator1,D.iterator2];if(!q.some((Y,W)=>!Y&&(W===0||q.slice(W+1).some(Boolean))))return{left:q.filter(Boolean).join(","),operator:f[2],right:D.for}}function p1(a,s){if(s.parser!=="vue")return;let{node:l}=a,p=l.fullName;if(p==="v-for")return u1;if(p==="generic"&&Xp(l.parent,s))return s1;let f=Cn(l),D=Lo(a,s);if(Ok(l)||Ik(l,s))return E=>o1(f,E,{parseWithTs:D});if(p.startsWith("@")||p.startsWith("v-on:"))return E=>d1(f,E,{parseWithTs:D});if(p.startsWith(":")||p.startsWith("v-bind:"))return E=>h1(f,E,{parseWithTs:D});if(p.startsWith("v-"))return E=>nd(f,E,{parseWithTs:D})}function d1(a,s,{parseWithTs:l}){return l1(a)?nd(a,s,{parseWithTs:l}):_t(a,s,{parser:l?"__vue_ts_event_binding":"__vue_event_binding"},un)}function h1(a,s,{parseWithTs:l}){return _t(a,s,{parser:l?"__vue_ts_expression":"__vue_expression"},un)}function nd(a,s,{parseWithTs:l}){return _t(a,s,{parser:l?"__ts_expression":"__js_expression"},un)}var f1=p1;function m1(a,s){let{node:l}=a;if(l.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(s.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset))||s.parser==="lwc"&&l.value.startsWith("{")&&l.value.endsWith("}"))return[l.rawName,"=",l.value];for(let p of[r1,a1,zk,f1,Wk]){let f=p(a,s);if(f)return g1(f)}}}function g1(a){return async(s,l,p,f)=>{let D=await a(s,l,p,f);if(D)return D=la(D,E=>typeof E=="string"?C(!1,E,'"',"&quot;"):E),[p.node.rawName,'="',ue(D),'"']}}var v1=m1,rd=new Proxy(()=>{},{get:()=>rd}),ad=rd;function y1(a){return Array.isArray(a)&&a.length>0}var Oo=y1;function Fi(a){return a.sourceSpan.start.offset}function Ai(a){return a.sourceSpan.end.offset}function Io(a,s){return[a.isSelfClosing?"":D1(a,s),ga(a,s)]}function D1(a,s){return a.lastChild&&Da(a.lastChild)?"":[b1(a,s),Mo(a,s)]}function ga(a,s){return(a.next?Qn(a.next):ya(a.parent))?"":[va(a,s),Xn(a,s)]}function b1(a,s){return ya(a)?va(a.lastChild,s):""}function Xn(a,s){return Da(a)?Mo(a.parent,s):$i(a)?qo(a.next):""}function Mo(a,s){if(ad(!a.isSelfClosing),id(a,s))return"";switch(a.type){case"ieConditionalComment":return"<!";case"element":if(a.hasHtmComponentClosingTag)return"<//";default:return`</${a.rawName}`}}function va(a,s){if(id(a,s))return"";switch(a.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(a.isSelfClosing)return"/>";default:return">"}}function id(a,s){return!a.isSelfClosing&&!a.endSourceSpan&&(Te(a)||Be(a.parent,s))}function Qn(a){return a.prev&&a.prev.type!=="docType"&&a.type!=="angularControlFlowBlock"&&!Ue(a.prev)&&a.isLeadingSpaceSensitive&&!a.hasLeadingSpaces}function ya(a){var s;return((s=a.lastChild)==null?void 0:s.isTrailingSpaceSensitive)&&!a.lastChild.hasTrailingSpaces&&!Ue(Bo(a.lastChild))&&!_r(a)}function Da(a){return!a.next&&!a.hasTrailingSpaces&&a.isTrailingSpaceSensitive&&Ue(Bo(a))}function $i(a){return a.next&&!Ue(a.next)&&Ue(a)&&a.isTrailingSpaceSensitive&&!a.hasTrailingSpaces}function k1(a){let s=a.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return s?s[1]?s[1].split(/\s+/u):!0:!1}function Ti(a){return!a.prev&&a.isLeadingSpaceSensitive&&!a.hasLeadingSpaces}function w1(a,s,l){var p;let{node:f}=a;if(!Oo(f.attrs))return f.isSelfClosing?" ":"";let D=((p=f.prev)==null?void 0:p.type)==="comment"&&k1(f.prev.value),E=typeof D=="boolean"?()=>D:Array.isArray(D)?we=>D.includes(we.rawName):()=>!1,B=a.map(({node:we})=>E(we)?mt(s.originalText.slice(Fi(we),Ai(we))):l(),"attrs"),q=f.type==="element"&&f.fullName==="script"&&f.attrs.length===1&&f.attrs[0].fullName==="src"&&f.children.length===0,Y=s.singleAttributePerLine&&f.attrs.length>1&&!xr(f,s)?Ee:_e,W=[Fe([q?" ":_e,wn(Y,B)])];return f.firstChild&&Ti(f.firstChild)||f.isSelfClosing&&ya(f.parent)||q?W.push(f.isSelfClosing?" ":""):W.push(s.bracketSameLine?f.isSelfClosing?" ":"":f.isSelfClosing?_e:Le),W}function C1(a){return a.firstChild&&Ti(a.firstChild)?"":Ho(a)}function Ro(a,s,l){let{node:p}=a;return[ba(p,s),w1(a,s,l),p.isSelfClosing?"":C1(p)]}function ba(a,s){return a.prev&&$i(a.prev)?"":[Zn(a,s),qo(a)]}function Zn(a,s){return Ti(a)?Ho(a.parent):Qn(a)?va(a.prev,s):""}function qo(a){switch(a.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${a.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return a.value==="html"?"<!doctype":"<!DOCTYPE";case"angularIcuExpression":return"{";case"element":if(a.condition)return`<!--[if ${a.condition}]><!--><${a.rawName}`;default:return`<${a.rawName}`}}function Ho(a){switch(ad(!a.isSelfClosing),a.type){case"ieConditionalComment":return"]>";case"element":if(a.condition)return"><!--<![endif]-->";default:return">"}}function _1(a,s){if(!a.endSourceSpan)return"";let l=a.startSourceSpan.end.offset;a.firstChild&&Ti(a.firstChild)&&(l-=Ho(a).length);let p=a.endSourceSpan.start.offset;return a.lastChild&&Da(a.lastChild)?p+=Mo(a,s).length:ya(a)&&(p-=va(a.lastChild,s).length),s.originalText.slice(l,p)}var sd=_1,x1=new Set(["if","else if","for","switch","case"]);function S1(a,s){let{node:l}=a;switch(l.type){case"element":if(tt(l)||l.type==="interpolation")return;if(!l.isSelfClosing&&No(l,s)){let p=zp(l,s);return p?async(f,D)=>{let E=sd(l,s),B=/^\s*$/u.test(E),q="";return B||(q=await f(ie(E),{parser:p,__embeddedInHtml:!0}),B=q===""),[Zn(l,s),ue(Ro(a,s,D)),B?"":Ee,q,B?"":Ee,Io(l,s),Xn(l,s)]}:void 0}break;case"text":if(tt(l.parent)){let p=zp(l.parent,s);if(p)return async f=>{let D=p==="markdown"?Yp(l.value.replace(/^[^\S\n]*\n/u,"")):l.value,E={parser:p,__embeddedInHtml:!0};if(s.parser==="html"&&p==="babel"){let B="script",{attrMap:q}=l.parent;q&&(q.type==="module"||q.type==="text/babel"&&q["data-type"]==="module")&&(B="module"),E.__babelSourceType=B}return[wt,Zn(l,s),await f(D,E),Xn(l,s)]}}else if(l.parent.type==="interpolation")return async p=>{let f={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return s.parser==="angular"?f.parser="__ng_interpolation":s.parser==="vue"?f.parser=Lo(a,s)?"__vue_ts_expression":"__vue_expression":f.parser="__js_expression",[Fe([_e,await p(l.value,f)]),l.parent.next&&Qn(l.parent.next)?" ":_e]};break;case"attribute":return v1(a,s);case"front-matter":return p=>So(l,p);case"angularControlFlowBlockParameters":return x1.has(a.parent.name)?wi:void 0;case"angularLetDeclarationInitializer":return p=>_t(l.value,p,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var E1=S1,ka=null;function wa(a){if(ka!==null&&typeof ka.property){let s=ka;return ka=wa.prototype=null,s}return ka=wa.prototype=a??Object.create(null),new wa}var F1=10;for(let a=0;a<=F1;a++)wa();function A1(a){return wa(a)}function $1(a,s="type"){A1(a);function l(p){let f=p[s],D=a[f];if(!Array.isArray(D))throw Object.assign(new Error(`Missing visitor keys for '${f}'.`),{node:p});return D}return l}var T1=$1,B1={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},N1=B1,j1=T1(N1),P1=j1;function L1(a){return/^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(a)}function O1(a){return`<!-- @format -->
628
+ `||a==="\f"||a==="\r"||a===" "}var Gk=/^[ \t\n\r\u000c]+/,Yk=/^[, \t\n\r\u000c]+/,Kk=/^[^ \t\n\r\u000c]+/,Jk=/[,]+$/,ed=/^\d+$/,Xk=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Qk(a){let s=a.length,l,p,f,D,E,B=0,q;function Y(pe){let Ae,Ve=pe.exec(a.substring(B));if(Ve)return[Ae]=Ve,B+=Ae.length,Ae}let W=[];for(;;){if(Y(Yk),B>=s){if(W.length===0)throw new Error("Must contain one or more image candidate strings.");return W}q=B,l=Y(Kk),p=[],l.slice(-1)===","?(l=l.replace(Jk,""),ge()):we()}function we(){for(Y(Gk),f="",D="in descriptor";;){if(E=a.charAt(B),D==="in descriptor")if(Zp(E))f&&(p.push(f),f="",D="after descriptor");else if(E===","){B+=1,f&&p.push(f),ge();return}else if(E==="(")f+=E,D="in parens";else if(E===""){f&&p.push(f),ge();return}else f+=E;else if(D==="in parens")if(E===")")f+=E,D="in descriptor";else if(E===""){p.push(f),ge();return}else f+=E;else if(D==="after descriptor"&&!Zp(E))if(E===""){ge();return}else D="in descriptor",B-=1;B+=1}}function ge(){let pe=!1,Ae,Ve,nt,st,z={},de,ze,qe,ct,Ar;for(st=0;st<p.length;st++)de=p[st],ze=de[de.length-1],qe=de.substring(0,de.length-1),ct=parseInt(qe,10),Ar=parseFloat(qe),ed.test(qe)&&ze==="w"?((Ae||Ve)&&(pe=!0),ct===0?pe=!0:Ae=ct):Xk.test(qe)&&ze==="x"?((Ae||Ve||nt)&&(pe=!0),Ar<0?pe=!0:Ve=Ar):ed.test(qe)&&ze==="h"?((nt||Ve)&&(pe=!0),ct===0?pe=!0:nt=ct):pe=!0;if(!pe)z.source={value:l,startOffset:q},Ae&&(z.width={value:Ae}),Ve&&(z.density={value:Ve}),nt&&(z.height={value:nt}),W.push(z);else throw new Error(`Invalid srcset descriptor found in "${a}" at "${de}".`)}}var Zk=Qk;function e1(a){if(a.node.fullName==="srcset"&&(a.parent.fullName==="img"||a.parent.fullName==="source"))return()=>n1(Cn(a.node))}var td={width:"w",height:"h",density:"x"},t1=Object.keys(td);function n1(a){let s=Zk(a),l=t1.filter(W=>s.some(we=>Object.prototype.hasOwnProperty.call(we,W)));if(l.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[p]=l,f=td[p],D=s.map(W=>W.source.value),E=Math.max(...D.map(W=>W.length)),B=s.map(W=>W[p]?String(W[p].value):""),q=B.map(W=>{let we=W.indexOf(".");return we===-1?W.length:we}),Y=Math.max(...q);return Jn(wn([",",_e],D.map((W,we)=>{let ge=[W],pe=B[we];if(pe){let Ae=E-W.length+1,Ve=Y-q[we],nt=" ".repeat(Ae+Ve);ge.push(kt(nt," "),pe+f)}return ge})))}var r1=e1;function a1(a,s){let{node:l}=a,p=Cn(a.node).trim();if(l.fullName==="style"&&!s.parentParser&&!p.includes("{{"))return async f=>Jn(await f(p,{parser:"css",__isHTMLStyleAttribute:!0}))}var Po=new WeakMap;function i1(a,s){let{root:l}=a;return Po.has(l)||Po.set(l,l.children.some(p=>Xp(p,s)&&["ts","typescript"].includes(p.attrMap.lang))),Po.get(l)}var Lo=i1;function s1(a,s,l){let{node:p}=l,f=Cn(p);return _t(`type T<${f}> = any`,a,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},un)}function o1(a,s,{parseWithTs:l}){return _t(`function _(${a}) {}`,s,{parser:l?"babel-ts":"babel",__isVueBindings:!0})}function l1(a){let s=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,l=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,p=a.trim();return s.test(p)||l.test(p)}async function u1(a,s,l,p){let f=Cn(l.node),{left:D,operator:E,right:B}=c1(f),q=Lo(l,p);return[ue(await _t(`function _(${D}) {}`,a,{parser:q?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",E," ",await _t(B,a,{parser:q?"__ts_expression":"__js_expression"})]}function c1(a){let s=/(.*?)\s+(in|of)\s+(.*)/su,l=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,p=/^\(|\)$/gu,f=a.match(s);if(!f)return;let D={};if(D.for=f[3].trim(),!D.for)return;let E=C(!1,f[1].trim(),p,""),B=E.match(l);B?(D.alias=E.replace(l,""),D.iterator1=B[1].trim(),B[2]&&(D.iterator2=B[2].trim())):D.alias=E;let q=[D.alias,D.iterator1,D.iterator2];if(!q.some((Y,W)=>!Y&&(W===0||q.slice(W+1).some(Boolean))))return{left:q.filter(Boolean).join(","),operator:f[2],right:D.for}}function p1(a,s){if(s.parser!=="vue")return;let{node:l}=a,p=l.fullName;if(p==="v-for")return u1;if(p==="generic"&&Xp(l.parent,s))return s1;let f=Cn(l),D=Lo(a,s);if(Ok(l)||Ik(l,s))return E=>o1(f,E,{parseWithTs:D});if(p.startsWith("@")||p.startsWith("v-on:"))return E=>d1(f,E,{parseWithTs:D});if(p.startsWith(":")||p.startsWith("v-bind:"))return E=>h1(f,E,{parseWithTs:D});if(p.startsWith("v-"))return E=>nd(f,E,{parseWithTs:D})}function d1(a,s,{parseWithTs:l}){return l1(a)?nd(a,s,{parseWithTs:l}):_t(a,s,{parser:l?"__vue_ts_event_binding":"__vue_event_binding"},un)}function h1(a,s,{parseWithTs:l}){return _t(a,s,{parser:l?"__vue_ts_expression":"__vue_expression"},un)}function nd(a,s,{parseWithTs:l}){return _t(a,s,{parser:l?"__ts_expression":"__js_expression"},un)}var f1=p1;function m1(a,s){let{node:l}=a;if(l.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(s.originalText.slice(l.valueSpan.start.offset,l.valueSpan.end.offset))||s.parser==="lwc"&&l.value.startsWith("{")&&l.value.endsWith("}"))return[l.rawName,"=",l.value];for(let p of[r1,a1,zk,f1,Wk]){let f=p(a,s);if(f)return g1(f)}}}function g1(a){return async(s,l,p,f)=>{let D=await a(s,l,p,f);if(D)return D=la(D,E=>typeof E=="string"?C(!1,E,'"',"&quot;"):E),[p.node.rawName,'="',ue(D),'"']}}var v1=m1,rd=new Proxy(()=>{},{get:()=>rd}),ad=rd;function y1(a){return Array.isArray(a)&&a.length>0}var Oo=y1;function Fi(a){return a.sourceSpan.start.offset}function Ai(a){return a.sourceSpan.end.offset}function Io(a,s){return[a.isSelfClosing?"":D1(a,s),ga(a,s)]}function D1(a,s){return a.lastChild&&Da(a.lastChild)?"":[b1(a,s),Mo(a,s)]}function ga(a,s){return(a.next?Qn(a.next):ya(a.parent))?"":[va(a,s),Xn(a,s)]}function b1(a,s){return ya(a)?va(a.lastChild,s):""}function Xn(a,s){return Da(a)?Mo(a.parent,s):$i(a)?qo(a.next):""}function Mo(a,s){if(ad(!a.isSelfClosing),id(a,s))return"";switch(a.type){case"ieConditionalComment":return"<!";case"element":if(a.hasHtmComponentClosingTag)return"<//";default:return`</${a.rawName}`}}function va(a,s){if(id(a,s))return"";switch(a.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(a.isSelfClosing)return"/>";default:return">"}}function id(a,s){return!a.isSelfClosing&&!a.endSourceSpan&&(Te(a)||Be(a.parent,s))}function Qn(a){return a.prev&&a.prev.type!=="docType"&&a.type!=="angularControlFlowBlock"&&!We(a.prev)&&a.isLeadingSpaceSensitive&&!a.hasLeadingSpaces}function ya(a){var s;return((s=a.lastChild)==null?void 0:s.isTrailingSpaceSensitive)&&!a.lastChild.hasTrailingSpaces&&!We(Bo(a.lastChild))&&!_r(a)}function Da(a){return!a.next&&!a.hasTrailingSpaces&&a.isTrailingSpaceSensitive&&We(Bo(a))}function $i(a){return a.next&&!We(a.next)&&We(a)&&a.isTrailingSpaceSensitive&&!a.hasTrailingSpaces}function k1(a){let s=a.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return s?s[1]?s[1].split(/\s+/u):!0:!1}function Ti(a){return!a.prev&&a.isLeadingSpaceSensitive&&!a.hasLeadingSpaces}function w1(a,s,l){var p;let{node:f}=a;if(!Oo(f.attrs))return f.isSelfClosing?" ":"";let D=((p=f.prev)==null?void 0:p.type)==="comment"&&k1(f.prev.value),E=typeof D=="boolean"?()=>D:Array.isArray(D)?we=>D.includes(we.rawName):()=>!1,B=a.map(({node:we})=>E(we)?mt(s.originalText.slice(Fi(we),Ai(we))):l(),"attrs"),q=f.type==="element"&&f.fullName==="script"&&f.attrs.length===1&&f.attrs[0].fullName==="src"&&f.children.length===0,Y=s.singleAttributePerLine&&f.attrs.length>1&&!xr(f,s)?Ee:_e,W=[Fe([q?" ":_e,wn(Y,B)])];return f.firstChild&&Ti(f.firstChild)||f.isSelfClosing&&ya(f.parent)||q?W.push(f.isSelfClosing?" ":""):W.push(s.bracketSameLine?f.isSelfClosing?" ":"":f.isSelfClosing?_e:Le),W}function C1(a){return a.firstChild&&Ti(a.firstChild)?"":Ho(a)}function Ro(a,s,l){let{node:p}=a;return[ba(p,s),w1(a,s,l),p.isSelfClosing?"":C1(p)]}function ba(a,s){return a.prev&&$i(a.prev)?"":[Zn(a,s),qo(a)]}function Zn(a,s){return Ti(a)?Ho(a.parent):Qn(a)?va(a.prev,s):""}function qo(a){switch(a.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${a.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return a.value==="html"?"<!doctype":"<!DOCTYPE";case"angularIcuExpression":return"{";case"element":if(a.condition)return`<!--[if ${a.condition}]><!--><${a.rawName}`;default:return`<${a.rawName}`}}function Ho(a){switch(ad(!a.isSelfClosing),a.type){case"ieConditionalComment":return"]>";case"element":if(a.condition)return"><!--<![endif]-->";default:return">"}}function _1(a,s){if(!a.endSourceSpan)return"";let l=a.startSourceSpan.end.offset;a.firstChild&&Ti(a.firstChild)&&(l-=Ho(a).length);let p=a.endSourceSpan.start.offset;return a.lastChild&&Da(a.lastChild)?p+=Mo(a,s).length:ya(a)&&(p-=va(a.lastChild,s).length),s.originalText.slice(l,p)}var sd=_1,x1=new Set(["if","else if","for","switch","case"]);function S1(a,s){let{node:l}=a;switch(l.type){case"element":if(tt(l)||l.type==="interpolation")return;if(!l.isSelfClosing&&No(l,s)){let p=zp(l,s);return p?async(f,D)=>{let E=sd(l,s),B=/^\s*$/u.test(E),q="";return B||(q=await f(ie(E),{parser:p,__embeddedInHtml:!0}),B=q===""),[Zn(l,s),ue(Ro(a,s,D)),B?"":Ee,q,B?"":Ee,Io(l,s),Xn(l,s)]}:void 0}break;case"text":if(tt(l.parent)){let p=zp(l.parent,s);if(p)return async f=>{let D=p==="markdown"?Yp(l.value.replace(/^[^\S\n]*\n/u,"")):l.value,E={parser:p,__embeddedInHtml:!0};if(s.parser==="html"&&p==="babel"){let B="script",{attrMap:q}=l.parent;q&&(q.type==="module"||q.type==="text/babel"&&q["data-type"]==="module")&&(B="module"),E.__babelSourceType=B}return[wt,Zn(l,s),await f(D,E),Xn(l,s)]}}else if(l.parent.type==="interpolation")return async p=>{let f={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return s.parser==="angular"?f.parser="__ng_interpolation":s.parser==="vue"?f.parser=Lo(a,s)?"__vue_ts_expression":"__vue_expression":f.parser="__js_expression",[Fe([_e,await p(l.value,f)]),l.parent.next&&Qn(l.parent.next)?" ":_e]};break;case"attribute":return v1(a,s);case"front-matter":return p=>So(l,p);case"angularControlFlowBlockParameters":return x1.has(a.parent.name)?wi:void 0;case"angularLetDeclarationInitializer":return p=>_t(l.value,p,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var E1=S1,ka=null;function wa(a){if(ka!==null&&typeof ka.property){let s=ka;return ka=wa.prototype=null,s}return ka=wa.prototype=a??Object.create(null),new wa}var F1=10;for(let a=0;a<=F1;a++)wa();function A1(a){return wa(a)}function $1(a,s="type"){A1(a);function l(p){let f=p[s],D=a[f];if(!Array.isArray(D))throw Object.assign(new Error(`Missing visitor keys for '${f}'.`),{node:p});return D}return l}var T1=$1,B1={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},N1=B1,j1=T1(N1),P1=j1;function L1(a){return/^\s*<!--\s*@(?:format|prettier)\s*-->/u.test(a)}function O1(a){return`<!-- @format -->
629
629
 
630
- `+a}var I1=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function od(a){let s=Ai(a);return a.type==="element"&&!a.endSourceSpan&&Oo(a.children)?Math.max(s,od(ln(!1,a.children,-1))):s}function Ca(a,s,l){let p=a.node;if(Te(p)){let f=od(p);return[Zn(p,s),mt($t.trimEnd(s.originalText.slice(Fi(p)+(p.prev&&$i(p.prev)?qo(p).length:0),f-(p.next&&Qn(p.next)?va(p,s).length:0)))),Xn(p,s)]}return l()}function Bi(a,s){return Ue(a)&&Ue(s)?a.isTrailingSpaceSensitive?a.hasTrailingSpaces?To(s)?Ee:_e:"":To(s)?Ee:Le:$i(a)&&(Te(s)||s.firstChild||s.isSelfClosing||s.type==="element"&&s.attrs.length>0)||a.type==="element"&&a.isSelfClosing&&Qn(s)?"":!s.isLeadingSpaceSensitive||To(s)||Qn(s)&&a.lastChild&&Da(a.lastChild)&&a.lastChild.lastChild&&Da(a.lastChild.lastChild)?Ee:s.hasLeadingSpaces?_e:Le}function Uo(a,s,l){let{node:p}=a;if(Rp(p))return[wt,...a.map(D=>{let E=D.node,B=E.prev?Bi(E.prev,E):"";return[B?[B,Si(E.prev)?Ee:""]:"",Ca(D,s,l)]},"children")];let f=p.children.map(()=>Symbol(""));return a.map((D,E)=>{let B=D.node;if(Ue(B)){if(B.prev&&Ue(B.prev)){let Ae=Bi(B.prev,B);if(Ae)return Si(B.prev)?[Ee,Ee,Ca(D,s,l)]:[Ae,Ca(D,s,l)]}return Ca(D,s,l)}let q=[],Y=[],W=[],we=[],ge=B.prev?Bi(B.prev,B):"",pe=B.next?Bi(B,B.next):"";return ge&&(Si(B.prev)?q.push(Ee,Ee):ge===Ee?q.push(Ee):Ue(B.prev)?Y.push(ge):Y.push(kt("",Le,{groupId:f[E-1]}))),pe&&(Si(B)?Ue(B.next)&&we.push(Ee,Ee):pe===Ee?Ue(B.next)&&we.push(Ee):W.push(pe)),[...q,ue([...Y,ue([Ca(D,s,l),...W],{id:f[E]})]),...we]},"children")}function M1(a,s,l){let{node:p}=a,f=[];R1(a)&&f.push("} "),f.push("@",p.name),p.parameters&&f.push(" (",ue(l("parameters")),")"),f.push(" {");let D=ld(p);return p.children.length>0?(p.firstChild.hasLeadingSpaces=!0,p.lastChild.hasTrailingSpaces=!0,f.push(Fe([Ee,Uo(a,s,l)])),D&&f.push(Ee,"}")):D&&f.push("}"),ue(f,{shouldBreak:!0})}function ld(a){var s,l;return!(((s=a.next)==null?void 0:s.type)==="angularControlFlowBlock"&&(l=I1.get(a.name))!=null&&l.has(a.next.name))}function R1(a){let{previous:s}=a;return(s==null?void 0:s.type)==="angularControlFlowBlock"&&!Te(s)&&!ld(s)}function q1(a,s,l){return[Fe([Le,wn([";",_e],a.map(l,"children"))]),Le]}function H1(a,s,l){let{node:p}=a;return[ba(p,s),ue([p.switchValue.trim(),", ",p.clause,p.cases.length>0?[",",Fe([_e,wn(_e,a.map(l,"cases"))])]:"",Le]),ga(p,s)]}function U1(a,s,l){let{node:p}=a;return[p.value," {",ue([Fe([Le,a.map(({node:f})=>f.type==="text"&&!$t.trim(f.value)?"":l(),"expression")]),Le]),"}"]}function W1(a,s,l){let{node:p}=a;if(Be(p,s))return[Zn(p,s),ue(Ro(a,s,l)),mt(sd(p,s)),...Io(p,s),Xn(p,s)];let f=p.children.length===1&&(p.firstChild.type==="interpolation"||p.firstChild.type==="angularIcuExpression")&&p.firstChild.isLeadingSpaceSensitive&&!p.firstChild.hasLeadingSpaces&&p.lastChild.isTrailingSpaceSensitive&&!p.lastChild.hasTrailingSpaces,D=Symbol("element-attr-group-id"),E=W=>ue([ue(Ro(a,s,l),{id:D}),W,Io(p,s)]),B=W=>f?kn(W,{groupId:D}):(tt(p)||Ei(p,s))&&p.parent.type==="root"&&s.parser==="vue"&&!s.vueIndentScriptAndStyle?W:Fe(W),q=()=>f?kt(Le,"",{groupId:D}):p.firstChild.hasLeadingSpaces&&p.firstChild.isLeadingSpaceSensitive?_e:p.firstChild.type==="text"&&p.isWhitespaceSensitive&&p.isIndentationSensitive?ft(Le):Le,Y=()=>(p.next?Qn(p.next):ya(p.parent))?p.lastChild.hasTrailingSpaces&&p.lastChild.isTrailingSpaceSensitive?" ":"":f?kt(Le,"",{groupId:D}):p.lastChild.hasTrailingSpaces&&p.lastChild.isTrailingSpaceSensitive?_e:(p.lastChild.type==="comment"||p.lastChild.type==="text"&&p.isWhitespaceSensitive&&p.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${s.tabWidth*(a.ancestors.length-1)}}$`,"u").test(p.lastChild.value)?"":Le;return p.children.length===0?E(p.hasDanglingSpaces&&p.isDanglingSpaceSensitive?_e:""):E([wk(p)?wt:"",B([q(),Uo(a,s,l)]),Y()])}function Ni(a){return a>=9&&a<=32||a==160}function Wo(a){return 48<=a&&a<=57}function ji(a){return a>=97&&a<=122||a>=65&&a<=90}function V1(a){return a>=97&&a<=102||a>=65&&a<=70||Wo(a)}function Vo(a){return a===10||a===13}function ud(a){return 48<=a&&a<=55}function zo(a){return a===39||a===34||a===96}var z1=/-+([a-z0-9])/g;function G1(a){return a.replace(z1,(...s)=>s[1].toUpperCase())}var Go=class Yd{constructor(s,l,p,f){this.file=s,this.offset=l,this.line=p,this.col=f}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(s){let l=this.file.content,p=l.length,f=this.offset,D=this.line,E=this.col;for(;f>0&&s<0;)if(f--,s++,l.charCodeAt(f)==10){D--;let B=l.substring(0,f-1).lastIndexOf(`
630
+ `+a}var I1=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function od(a){let s=Ai(a);return a.type==="element"&&!a.endSourceSpan&&Oo(a.children)?Math.max(s,od(ln(!1,a.children,-1))):s}function Ca(a,s,l){let p=a.node;if(Te(p)){let f=od(p);return[Zn(p,s),mt($t.trimEnd(s.originalText.slice(Fi(p)+(p.prev&&$i(p.prev)?qo(p).length:0),f-(p.next&&Qn(p.next)?va(p,s).length:0)))),Xn(p,s)]}return l()}function Bi(a,s){return We(a)&&We(s)?a.isTrailingSpaceSensitive?a.hasTrailingSpaces?To(s)?Ee:_e:"":To(s)?Ee:Le:$i(a)&&(Te(s)||s.firstChild||s.isSelfClosing||s.type==="element"&&s.attrs.length>0)||a.type==="element"&&a.isSelfClosing&&Qn(s)?"":!s.isLeadingSpaceSensitive||To(s)||Qn(s)&&a.lastChild&&Da(a.lastChild)&&a.lastChild.lastChild&&Da(a.lastChild.lastChild)?Ee:s.hasLeadingSpaces?_e:Le}function Uo(a,s,l){let{node:p}=a;if(Rp(p))return[wt,...a.map(D=>{let E=D.node,B=E.prev?Bi(E.prev,E):"";return[B?[B,Si(E.prev)?Ee:""]:"",Ca(D,s,l)]},"children")];let f=p.children.map(()=>Symbol(""));return a.map((D,E)=>{let B=D.node;if(We(B)){if(B.prev&&We(B.prev)){let Ae=Bi(B.prev,B);if(Ae)return Si(B.prev)?[Ee,Ee,Ca(D,s,l)]:[Ae,Ca(D,s,l)]}return Ca(D,s,l)}let q=[],Y=[],W=[],we=[],ge=B.prev?Bi(B.prev,B):"",pe=B.next?Bi(B,B.next):"";return ge&&(Si(B.prev)?q.push(Ee,Ee):ge===Ee?q.push(Ee):We(B.prev)?Y.push(ge):Y.push(kt("",Le,{groupId:f[E-1]}))),pe&&(Si(B)?We(B.next)&&we.push(Ee,Ee):pe===Ee?We(B.next)&&we.push(Ee):W.push(pe)),[...q,ue([...Y,ue([Ca(D,s,l),...W],{id:f[E]})]),...we]},"children")}function M1(a,s,l){let{node:p}=a,f=[];R1(a)&&f.push("} "),f.push("@",p.name),p.parameters&&f.push(" (",ue(l("parameters")),")"),f.push(" {");let D=ld(p);return p.children.length>0?(p.firstChild.hasLeadingSpaces=!0,p.lastChild.hasTrailingSpaces=!0,f.push(Fe([Ee,Uo(a,s,l)])),D&&f.push(Ee,"}")):D&&f.push("}"),ue(f,{shouldBreak:!0})}function ld(a){var s,l;return!(((s=a.next)==null?void 0:s.type)==="angularControlFlowBlock"&&(l=I1.get(a.name))!=null&&l.has(a.next.name))}function R1(a){let{previous:s}=a;return(s==null?void 0:s.type)==="angularControlFlowBlock"&&!Te(s)&&!ld(s)}function q1(a,s,l){return[Fe([Le,wn([";",_e],a.map(l,"children"))]),Le]}function H1(a,s,l){let{node:p}=a;return[ba(p,s),ue([p.switchValue.trim(),", ",p.clause,p.cases.length>0?[",",Fe([_e,wn(_e,a.map(l,"cases"))])]:"",Le]),ga(p,s)]}function U1(a,s,l){let{node:p}=a;return[p.value," {",ue([Fe([Le,a.map(({node:f})=>f.type==="text"&&!$t.trim(f.value)?"":l(),"expression")]),Le]),"}"]}function W1(a,s,l){let{node:p}=a;if(Be(p,s))return[Zn(p,s),ue(Ro(a,s,l)),mt(sd(p,s)),...Io(p,s),Xn(p,s)];let f=p.children.length===1&&(p.firstChild.type==="interpolation"||p.firstChild.type==="angularIcuExpression")&&p.firstChild.isLeadingSpaceSensitive&&!p.firstChild.hasLeadingSpaces&&p.lastChild.isTrailingSpaceSensitive&&!p.lastChild.hasTrailingSpaces,D=Symbol("element-attr-group-id"),E=W=>ue([ue(Ro(a,s,l),{id:D}),W,Io(p,s)]),B=W=>f?kn(W,{groupId:D}):(tt(p)||Ei(p,s))&&p.parent.type==="root"&&s.parser==="vue"&&!s.vueIndentScriptAndStyle?W:Fe(W),q=()=>f?kt(Le,"",{groupId:D}):p.firstChild.hasLeadingSpaces&&p.firstChild.isLeadingSpaceSensitive?_e:p.firstChild.type==="text"&&p.isWhitespaceSensitive&&p.isIndentationSensitive?ft(Le):Le,Y=()=>(p.next?Qn(p.next):ya(p.parent))?p.lastChild.hasTrailingSpaces&&p.lastChild.isTrailingSpaceSensitive?" ":"":f?kt(Le,"",{groupId:D}):p.lastChild.hasTrailingSpaces&&p.lastChild.isTrailingSpaceSensitive?_e:(p.lastChild.type==="comment"||p.lastChild.type==="text"&&p.isWhitespaceSensitive&&p.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${s.tabWidth*(a.ancestors.length-1)}}$`,"u").test(p.lastChild.value)?"":Le;return p.children.length===0?E(p.hasDanglingSpaces&&p.isDanglingSpaceSensitive?_e:""):E([wk(p)?wt:"",B([q(),Uo(a,s,l)]),Y()])}function Ni(a){return a>=9&&a<=32||a==160}function Wo(a){return 48<=a&&a<=57}function ji(a){return a>=97&&a<=122||a>=65&&a<=90}function V1(a){return a>=97&&a<=102||a>=65&&a<=70||Wo(a)}function Vo(a){return a===10||a===13}function ud(a){return 48<=a&&a<=55}function zo(a){return a===39||a===34||a===96}var z1=/-+([a-z0-9])/g;function G1(a){return a.replace(z1,(...s)=>s[1].toUpperCase())}var Go=class Yd{constructor(s,l,p,f){this.file=s,this.offset=l,this.line=p,this.col=f}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(s){let l=this.file.content,p=l.length,f=this.offset,D=this.line,E=this.col;for(;f>0&&s<0;)if(f--,s++,l.charCodeAt(f)==10){D--;let B=l.substring(0,f-1).lastIndexOf(`
631
631
  `);E=B>0?f-B:f}else E--;for(;f<p&&s>0;){let B=l.charCodeAt(f);f++,s--,B==10?(D++,E=0):E++}return new Yd(this.file,f,D,E)}getContext(s,l){let p=this.file.content,f=this.offset;if(f!=null){f>p.length-1&&(f=p.length-1);let D=f,E=0,B=0;for(;E<s&&f>0&&(f--,E++,!(p[f]==`
632
632
  `&&++B==l)););for(E=0,B=0;E<s&&D<p.length-1&&(D++,E++,!(p[D]==`
633
633
  `&&++B==l)););return{before:p.substring(f,this.offset),after:p.substring(this.offset,D+1)}}return null}},cd=class{constructor(a,s){this.content=a,this.url=s}},se=class{constructor(a,s,l=a,p=null){this.start=a,this.end=s,this.fullStart=l,this.details=p}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},Pi;(function(a){a[a.WARNING=0]="WARNING",a[a.ERROR=1]="ERROR"})(Pi||(Pi={}));var pd=class{constructor(a,s,l=Pi.ERROR){this.span=a,this.msg=s,this.level=l}contextualMessage(){let a=this.span.start.getContext(100,3);return a?`${this.msg} ("${a.before}[${Pi[this.level]} ->]${a.after}")`:this.msg}toString(){let a=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${a}`}},Y1=[J1,X1,Z1,tw,nw,iw,rw,aw,sw,ew];function K1(a,s){for(let l of Y1)l(a,s);return a}function J1(a){a.walk(s=>{if(s.type==="element"&&s.tagDefinition.ignoreFirstLf&&s.children.length>0&&s.children[0].type==="text"&&s.children[0].value[0]===`
634
634
  `){let l=s.children[0];l.value.length===1?s.removeChild(l):l.value=l.value.slice(1)}})}function X1(a){let s=l=>{var p,f;return l.type==="element"&&((p=l.prev)==null?void 0:p.type)==="ieConditionalStartComment"&&l.prev.sourceSpan.end.offset===l.startSourceSpan.start.offset&&((f=l.firstChild)==null?void 0:f.type)==="ieConditionalEndComment"&&l.firstChild.sourceSpan.start.offset===l.startSourceSpan.end.offset};a.walk(l=>{if(l.children)for(let p=0;p<l.children.length;p++){let f=l.children[p];if(!s(f))continue;let D=f.prev,E=f.firstChild;l.removeChild(D),p--;let B=new se(D.sourceSpan.start,E.sourceSpan.end),q=new se(B.start,f.sourceSpan.end);f.condition=D.condition,f.sourceSpan=q,f.startSourceSpan=B,f.removeChild(E)}})}function Q1(a,s,l){a.walk(p=>{if(p.children)for(let f=0;f<p.children.length;f++){let D=p.children[f];if(D.type!=="text"&&!s(D))continue;D.type!=="text"&&(D.type="text",D.value=l(D));let E=D.prev;!E||E.type!=="text"||(E.value+=D.value,E.sourceSpan=new se(E.sourceSpan.start,D.sourceSpan.end),p.removeChild(D),f--)}})}function Z1(a){return Q1(a,s=>s.type==="cdata",s=>`<![CDATA[${s.value}]]>`)}function ew(a){let s=l=>{var p,f;return l.type==="element"&&l.attrs.length===0&&l.children.length===1&&l.firstChild.type==="text"&&!$t.hasWhitespaceCharacter(l.children[0].value)&&!l.firstChild.hasLeadingSpaces&&!l.firstChild.hasTrailingSpaces&&l.isLeadingSpaceSensitive&&!l.hasLeadingSpaces&&l.isTrailingSpaceSensitive&&!l.hasTrailingSpaces&&((p=l.prev)==null?void 0:p.type)==="text"&&((f=l.next)==null?void 0:f.type)==="text"};a.walk(l=>{if(l.children)for(let p=0;p<l.children.length;p++){let f=l.children[p];if(!s(f))continue;let D=f.prev,E=f.next;D.value+=`<${f.rawName}>`+f.firstChild.value+`</${f.rawName}>`+E.value,D.sourceSpan=new se(D.sourceSpan.start,E.sourceSpan.end),D.isTrailingSpaceSensitive=E.isTrailingSpaceSensitive,D.hasTrailingSpaces=E.hasTrailingSpaces,l.removeChild(f),p--,l.removeChild(E)}})}function tw(a,s){if(s.parser==="html")return;let l=/\{\{(.+?)\}\}/su;a.walk(p=>{if(it(p))for(let f of p.children){if(f.type!=="text")continue;let D=f.sourceSpan.start,E=null,B=f.value.split(l);for(let q=0;q<B.length;q++,D=E){let Y=B[q];if(q%2===0){E=D.moveBy(Y.length),Y.length>0&&p.insertChildBefore(f,{type:"text",value:Y,sourceSpan:new se(D,E)});continue}E=D.moveBy(Y.length+4),p.insertChildBefore(f,{type:"interpolation",sourceSpan:new se(D,E),children:Y.length===0?[]:[{type:"text",value:Y,sourceSpan:new se(D.moveBy(2),E.moveBy(-2))}]})}p.removeChild(f)}})}function nw(a){a.walk(s=>{if(!s.children)return;if(s.children.length===0||s.children.length===1&&s.children[0].type==="text"&&$t.trim(s.children[0].value).length===0){s.hasDanglingSpaces=s.children.length>0,s.children=[];return}let l=fa(s),p=xi(s);if(!l)for(let f=0;f<s.children.length;f++){let D=s.children[f];if(D.type!=="text")continue;let{leadingWhitespace:E,text:B,trailingWhitespace:q}=et(D.value),Y=D.prev,W=D.next;B?(D.value=B,D.sourceSpan=new se(D.sourceSpan.start.moveBy(E.length),D.sourceSpan.end.moveBy(-q.length)),E&&(Y&&(Y.hasTrailingSpaces=!0),D.hasLeadingSpaces=!0),q&&(D.hasTrailingSpaces=!0,W&&(W.hasLeadingSpaces=!0))):(s.removeChild(D),f--,(E||q)&&(Y&&(Y.hasTrailingSpaces=!0),W&&(W.hasLeadingSpaces=!0)))}s.isWhitespaceSensitive=l,s.isIndentationSensitive=p})}function rw(a){a.walk(s=>{s.isSelfClosing=!s.children||s.type==="element"&&(s.tagDefinition.isVoid||s.endSourceSpan&&s.startSourceSpan.start===s.endSourceSpan.start&&s.startSourceSpan.end===s.endSourceSpan.end)})}function aw(a,s){a.walk(l=>{l.type==="element"&&(l.hasHtmComponentClosingTag=l.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(s.originalText.slice(l.endSourceSpan.start.offset,l.endSourceSpan.end.offset)))})}function iw(a,s){a.walk(l=>{l.cssDisplay=jk(l,s)})}function sw(a,s){a.walk(l=>{let{children:p}=l;if(p){if(p.length===0){l.isDanglingSpaceSensitive=kk(l);return}for(let f of p)f.isLeadingSpaceSensitive=$o(f,s),f.isTrailingSpaceSensitive=bk(f,s);for(let f=0;f<p.length;f++){let D=p[f];D.isLeadingSpaceSensitive=(f===0||D.prev.isTrailingSpaceSensitive)&&D.isLeadingSpaceSensitive,D.isTrailingSpaceSensitive=(f===p.length-1||D.next.isLeadingSpaceSensitive)&&D.isTrailingSpaceSensitive}}})}var ow=K1;function lw(a,s,l){let{node:p}=a;switch(p.type){case"front-matter":return mt(p.raw);case"root":return s.__onHtmlRoot&&s.__onHtmlRoot(p),[ue(Uo(a,s,l)),Ee];case"element":case"ieConditionalComment":return W1(a,s,l);case"angularControlFlowBlock":return M1(a,s,l);case"angularControlFlowBlockParameters":return q1(a,s,l);case"angularControlFlowBlockParameter":return $t.trim(p.expression);case"angularLetDeclaration":return ue(["@let ",ue([p.id," =",ue(Fe([_e,l("init")]))]),";"]);case"angularLetDeclarationInitializer":return p.value;case"angularIcuExpression":return H1(a,s,l);case"angularIcuCase":return U1(a,s,l);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ba(p),ga(p)];case"interpolation":return[ba(p,s),...a.map(l,"children"),ga(p,s)];case"text":{if(p.parent.type==="interpolation"){let D=/\n[^\S\n]*$/u,E=D.test(p.value),B=E?p.value.replace(D,""):p.value;return[mt(B),E?Ee:""]}let f=gi([Zn(p,s),...Jp(p),Xn(p,s)]);return Array.isArray(f)?bt(f):f}case"docType":return[ue([ba(p,s)," ",C(!1,p.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),ga(p,s)];case"comment":return[Zn(p,s),mt(s.originalText.slice(Fi(p),Ai(p))),Xn(p,s)];case"attribute":{if(p.value===null)return p.rawName;let f=Kp(p.value),D=Di(f,'"');return[p.rawName,"=",D,mt(D==='"'?C(!1,f,'"',"&quot;"):C(!1,f,"'","&apos;")),D]}case"cdata":default:throw new ca(p,"HTML")}}var uw={preprocess:ow,print:lw,insertPragma:O1,massageAstNode:xo,embed:E1,getVisitorKeys:P1},cw=uw,pw=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],dd={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},hd="HTML",dw={bracketSameLine:dd.bracketSameLine,htmlWhitespaceSensitivity:{category:hd,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:dd.singleAttributePerLine,vueIndentScriptAndStyle:{category:hd,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},hw=dw,fd={};c(fd,{angular:()=>gC,html:()=>mC,lwc:()=>yC,vue:()=>vC});var md;(function(a){a[a.Emulated=0]="Emulated",a[a.None=2]="None",a[a.ShadowDom=3]="ShadowDom"})(md||(md={}));var gd;(function(a){a[a.OnPush=0]="OnPush",a[a.Default=1]="Default"})(gd||(gd={}));var vd;(function(a){a[a.None=0]="None",a[a.SignalBased=1]="SignalBased",a[a.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(vd||(vd={}));var yd={name:"custom-elements"},Dd={name:"no-errors-schema"},er;(function(a){a[a.NONE=0]="NONE",a[a.HTML=1]="HTML",a[a.STYLE=2]="STYLE",a[a.SCRIPT=3]="SCRIPT",a[a.URL=4]="URL",a[a.RESOURCE_URL=5]="RESOURCE_URL"})(er||(er={}));var bd;(function(a){a[a.Error=0]="Error",a[a.Warning=1]="Warning",a[a.Ignore=2]="Ignore"})(bd||(bd={}));var Lt;(function(a){a[a.RAW_TEXT=0]="RAW_TEXT",a[a.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",a[a.PARSABLE_DATA=2]="PARSABLE_DATA"})(Lt||(Lt={}));function Li(a,s=!0){if(a[0]!=":")return[null,a];let l=a.indexOf(":",1);if(l===-1){if(s)throw new Error(`Unsupported format "${a}" expecting ":namespace:name"`);return[null,a]}return[a.slice(1,l),a.slice(l+1)]}function kd(a){return Li(a)[1]==="ng-container"}function wd(a){return Li(a)[1]==="ng-content"}function Oi(a){return a===null?null:Li(a)[0]}function Ii(a,s){return a?`:${a}:${s}`:s}var Mi;function Cd(){return Mi||(Mi={},Ri(er.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Ri(er.STYLE,["*|style"]),Ri(er.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Ri(er.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Mi}function Ri(a,s){for(let l of s)Mi[l.toLowerCase()]=a}var fw=class{},mw="boolean",gw="number",vw="string",yw="object",Dw=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],_d=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),bw=Array.from(_d).reduce((a,[s,l])=>(a.set(s,l),a),new Map),kw=class extends fw{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Dw.forEach(a=>{let s=new Map,l=new Set,[p,f]=a.split("|"),D=f.split(","),[E,B]=p.split("^");E.split(",").forEach(Y=>{this._schema.set(Y.toLowerCase(),s),this._eventSchema.set(Y.toLowerCase(),l)});let q=B&&this._schema.get(B.toLowerCase());if(q){for(let[Y,W]of q)s.set(Y,W);for(let Y of this._eventSchema.get(B.toLowerCase()))l.add(Y)}D.forEach(Y=>{if(Y.length>0)switch(Y[0]){case"*":l.add(Y.substring(1));break;case"!":s.set(Y.substring(1),mw);break;case"#":s.set(Y.substring(1),gw);break;case"%":s.set(Y.substring(1),yw);break;default:s.set(Y,vw)}})})}hasProperty(a,s,l){if(l.some(p=>p.name===Dd.name))return!0;if(a.indexOf("-")>-1){if(kd(a)||wd(a))return!1;if(l.some(p=>p.name===yd.name))return!0}return(this._schema.get(a.toLowerCase())||this._schema.get("unknown")).has(s)}hasElement(a,s){return s.some(l=>l.name===Dd.name)||a.indexOf("-")>-1&&(kd(a)||wd(a)||s.some(l=>l.name===yd.name))?!0:this._schema.has(a.toLowerCase())}securityContext(a,s,l){l&&(s=this.getMappedPropName(s)),a=a.toLowerCase(),s=s.toLowerCase();let p=Cd()[a+"|"+s];return p||(p=Cd()["*|"+s],p||er.NONE)}getMappedPropName(a){return _d.get(a)??a}getDefaultComponentElementName(){return"ng-component"}validateProperty(a){return a.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${a}' is disallowed for security reasons, please use (${a.slice(2)})=...
635
635
  If '${a}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(a){return a.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${a}' is disallowed for security reasons, please use (${a.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(a){let s=this._schema.get(a.toLowerCase())||this._schema.get("unknown");return Array.from(s.keys()).map(l=>bw.get(l)??l)}allKnownEventsOfElement(a){return Array.from(this._eventSchema.get(a.toLowerCase())??[])}normalizeAnimationStyleProperty(a){return G1(a)}normalizeAnimationStyleValue(a,s,l){let p="",f=l.toString().trim(),D=null;if(ww(a)&&l!==0&&l!=="0")if(typeof l=="number")p="px";else{let E=l.match(/^[+-]?[\d\.]+([a-z]*)$/);E&&E[1].length==0&&(D=`Please provide a CSS unit value for ${s}:${l}`)}return{error:D,value:f+p}}};function ww(a){switch(a){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var re=class{constructor({closedByChildren:a,implicitNamespacePrefix:s,contentType:l=Lt.PARSABLE_DATA,closedByParent:p=!1,isVoid:f=!1,ignoreFirstLf:D=!1,preventNamespaceInheritance:E=!1,canSelfClose:B=!1}={}){this.closedByChildren={},this.closedByParent=!1,a&&a.length>0&&a.forEach(q=>this.closedByChildren[q]=!0),this.isVoid=f,this.closedByParent=p||f,this.implicitNamespacePrefix=s||null,this.contentType=l,this.ignoreFirstLf=D,this.preventNamespaceInheritance=E,this.canSelfClose=B??f}isClosedByChild(a){return this.isVoid||a.toLowerCase()in this.closedByChildren}getContentType(a){return typeof this.contentType=="object"?(a===void 0?void 0:this.contentType[a])??this.contentType.default:this.contentType}},xd,_a;function Yo(a){return _a||(xd=new re({canSelfClose:!0}),_a=Object.assign(Object.create(null),{base:new re({isVoid:!0}),meta:new re({isVoid:!0}),area:new re({isVoid:!0}),embed:new re({isVoid:!0}),link:new re({isVoid:!0}),img:new re({isVoid:!0}),input:new re({isVoid:!0}),param:new re({isVoid:!0}),hr:new re({isVoid:!0}),br:new re({isVoid:!0}),source:new re({isVoid:!0}),track:new re({isVoid:!0}),wbr:new re({isVoid:!0}),p:new re({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new re({closedByChildren:["tbody","tfoot"]}),tbody:new re({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new re({closedByChildren:["tbody"],closedByParent:!0}),tr:new re({closedByChildren:["tr"],closedByParent:!0}),td:new re({closedByChildren:["td","th"],closedByParent:!0}),th:new re({closedByChildren:["td","th"],closedByParent:!0}),col:new re({isVoid:!0}),svg:new re({implicitNamespacePrefix:"svg"}),foreignObject:new re({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new re({implicitNamespacePrefix:"math"}),li:new re({closedByChildren:["li"],closedByParent:!0}),dt:new re({closedByChildren:["dt","dd"]}),dd:new re({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new re({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new re({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new re({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new re({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new re({closedByChildren:["optgroup"],closedByParent:!0}),option:new re({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new re({ignoreFirstLf:!0}),listing:new re({ignoreFirstLf:!0}),style:new re({contentType:Lt.RAW_TEXT}),script:new re({contentType:Lt.RAW_TEXT}),title:new re({contentType:{default:Lt.ESCAPABLE_RAW_TEXT,svg:Lt.PARSABLE_DATA}}),textarea:new re({contentType:Lt.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new kw().allKnownElementNames().forEach(s=>{!_a[s]&&Oi(s)===null&&(_a[s]=new re({canSelfClose:!1}))})),_a[a]??xd}var Sr=class{constructor(a,s){this.sourceSpan=a,this.i18n=s}},Cw=class extends Sr{constructor(a,s,l,p){super(s,p),this.value=a,this.tokens=l,this.type="text"}visit(a,s){return a.visitText(this,s)}},_w=class extends Sr{constructor(a,s,l,p){super(s,p),this.value=a,this.tokens=l,this.type="cdata"}visit(a,s){return a.visitCdata(this,s)}},xw=class extends Sr{constructor(a,s,l,p,f,D){super(p,D),this.switchValue=a,this.type=s,this.cases=l,this.switchValueSourceSpan=f}visit(a,s){return a.visitExpansion(this,s)}},Sw=class{constructor(a,s,l,p,f){this.value=a,this.expression=s,this.sourceSpan=l,this.valueSourceSpan=p,this.expSourceSpan=f,this.type="expansionCase"}visit(a,s){return a.visitExpansionCase(this,s)}},Ew=class extends Sr{constructor(a,s,l,p,f,D,E){super(l,E),this.name=a,this.value=s,this.keySpan=p,this.valueSpan=f,this.valueTokens=D,this.type="attribute"}visit(a,s){return a.visitAttribute(this,s)}get nameSpan(){return this.keySpan}},_n=class extends Sr{constructor(a,s,l,p,f,D=null,E=null,B){super(p,B),this.name=a,this.attrs=s,this.children=l,this.startSourceSpan=f,this.endSourceSpan=D,this.nameSpan=E,this.type="element"}visit(a,s){return a.visitElement(this,s)}},Fw=class{constructor(a,s){this.value=a,this.sourceSpan=s,this.type="comment"}visit(a,s){return a.visitComment(this,s)}},Aw=class{constructor(a,s){this.value=a,this.sourceSpan=s,this.type="docType"}visit(a,s){return a.visitDocType(this,s)}},Er=class extends Sr{constructor(a,s,l,p,f,D,E=null,B){super(p,B),this.name=a,this.parameters=s,this.children=l,this.nameSpan=f,this.startSourceSpan=D,this.endSourceSpan=E,this.type="block"}visit(a,s){return a.visitBlock(this,s)}},Sd=class{constructor(a,s){this.expression=a,this.sourceSpan=s,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(a,s){return a.visitBlockParameter(this,s)}},Ed=class{constructor(a,s,l,p,f){this.name=a,this.value=s,this.sourceSpan=l,this.nameSpan=p,this.valueSpan=f,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(a,s){return a.visitLetDeclaration(this,s)}};function Fd(a,s,l=null){let p=[],f=a.visit?D=>a.visit(D,l)||D.visit(a,l):D=>D.visit(a,l);return s.forEach(D=>{let E=f(D);E&&p.push(E)}),p}var $w=class{constructor(){}visitElement(a,s){this.visitChildren(s,l=>{l(a.attrs),l(a.children)})}visitAttribute(a,s){}visitText(a,s){}visitCdata(a,s){}visitComment(a,s){}visitDocType(a,s){}visitExpansion(a,s){return this.visitChildren(s,l=>{l(a.cases)})}visitExpansionCase(a,s){}visitBlock(a,s){this.visitChildren(s,l=>{l(a.parameters),l(a.children)})}visitBlockParameter(a,s){}visitLetDeclaration(a,s){}visitChildren(a,s){let l=[],p=this;function f(D){D&&l.push(Fd(p,D,a))}return s(f),Array.prototype.concat.apply([],l)}},qi={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:`
636
636
  `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Tw="";qi.ngsp=Tw;var Bw=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Nw(a,s){if(s!=null&&!(Array.isArray(s)&&s.length==2))throw new Error(`Expected '${a}' to be an array, [start, end].`);if(s!=null){let l=s[0],p=s[1];Bw.forEach(f=>{if(f.test(l)||f.test(p))throw new Error(`['${l}', '${p}'] contains unusable interpolation symbol.`)})}}var jw=class Kd{static fromArray(s){return s?(Nw("interpolation",s),new Kd(s[0],s[1])):Ad}constructor(s,l){this.start=s,this.end=l}},Ad=new jw("{{","}}"),Ko=class extends pd{constructor(a,s,l){super(l,a),this.tokenType=s}},Pw=class{constructor(a,s,l){this.tokens=a,this.errors=s,this.nonNormalizedIcuExpressions=l}};function Lw(a,s,l,p={}){let f=new Mw(new cd(a,s),l,p);return f.tokenize(),new Pw(Vw(f.tokens),f.errors,f.nonNormalizedIcuExpressions)}var Ow=/\r\n?/g;function Fr(a){return`Unexpected character "${a===0?"EOF":String.fromCharCode(a)}"`}function $d(a){return`Unknown entity "${a}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function Iw(a,s){return`Unable to parse entity "${s}" - ${a} character reference entities must end with ";"`}var Hi;(function(a){a.HEX="hexadecimal",a.DEC="decimal"})(Hi||(Hi={}));var Jo=class{constructor(a){this.error=a}},Mw=class{constructor(a,s,l){this._getTagContentType=s,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=l.tokenizeExpansionForms||!1,this._interpolationConfig=l.interpolationConfig||Ad,this._leadingTriviaCodePoints=l.leadingTriviaChars&&l.leadingTriviaChars.map(f=>f.codePointAt(0)||0),this._canSelfClose=l.canSelfClose||!1,this._allowHtmComponentClosingTags=l.allowHtmComponentClosingTags||!1;let p=l.range||{endPos:a.content.length,startPos:0,startLine:0,startCol:0};this._cursor=l.escapedString?new zw(a,p):new Pd(a,p),this._preserveLineEndings=l.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=l.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=l.tokenizeBlocks??!0,this._tokenizeLet=l.tokenizeLet??!0;try{this._cursor.init()}catch(f){this.handleError(f)}}_processCarriageReturns(a){return this._preserveLineEndings?a:a.replace(Ow,`
637
- `)}tokenize(){for(;this._cursor.peek()!==0;){let a=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(a):this._attemptStr("--")?this._consumeComment(a):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(a):this._consumeBogusComment(a);else if(this._attemptCharCode(47))this._consumeTagClose(a);else{let s=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=s,this._consumeBogusComment(a)):this._consumeTagOpen(a)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(a):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(a):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(a):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(s){this.handleError(s)}}this._beginToken(34),this._endToken([])}_getBlockName(){let a=!1,s=this._cursor.clone();return this._attemptCharCodeUntilFn(l=>Ni(l)?!a:Nd(l)?(a=!0,!1):!0),this._cursor.getChars(s).trim()}_consumeBlockStart(a){this._beginToken(25,a);let s=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Re),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Re);else{s.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):s.type=29}_consumeBlockEnd(a){this._beginToken(27,a),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(jd);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let a=this._cursor.clone(),s=null,l=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||s!==null;){let p=this._cursor.peek();if(p===92)this._cursor.advance();else if(p===s)s=null;else if(s===null&&zo(p))s=p;else if(p===40&&s===null)l++;else if(p===41&&s===null){if(l===0)break;l>0&&l--}this._cursor.advance()}this._endToken([this._cursor.getChars(a)]),this._attemptCharCodeUntilFn(jd)}}_consumeLetDeclaration(a){if(this._beginToken(30,a),Ni(this._cursor.peek()))this._attemptCharCodeUntilFn(Re);else{let l=this._endToken([this._cursor.getChars(a)]);l.type=33;return}let s=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Re),!this._attemptCharCode(61)){s.type=33;return}this._attemptCharCodeUntilFn(l=>Re(l)&&!Vo(l)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(s.type=33,s.sourceSpan=this._cursor.getSpan(a))}_getLetDeclarationName(){let a=this._cursor.clone(),s=!1;return this._attemptCharCodeUntilFn(l=>ji(l)||l==36||l===95||s&&Wo(l)?(s=!0,!1):!0),this._cursor.getChars(a).trim()}_consumeLetDeclarationValue(){let a=this._cursor.clone();for(this._beginToken(31,a);this._cursor.peek()!==0;){let s=this._cursor.peek();if(s===59)break;zo(s)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(l=>l===92?(this._cursor.advance(),!1):l===s)),this._cursor.advance()}this._endToken([this._cursor.getChars(a)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Uw(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(a,s=this._cursor.clone()){this._currentTokenStart=s,this._currentTokenType=a}_endToken(a,s){if(this._currentTokenStart===null)throw new Ko("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(s));if(this._currentTokenType===null)throw new Ko("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let l={type:this._currentTokenType,parts:a,sourceSpan:(s??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(l),this._currentTokenStart=null,this._currentTokenType=null,l}_createError(a,s){this._isInExpansionForm()&&(a+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let l=new Ko(a,this._currentTokenType,s);return this._currentTokenStart=null,this._currentTokenType=null,new Jo(l)}handleError(a){if(a instanceof Xo&&(a=this._createError(a.msg,this._cursor.getSpan(a.cursor))),a instanceof Jo)this.errors.push(a.error);else throw a}_attemptCharCode(a){return this._cursor.peek()===a?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(a){return Ww(this._cursor.peek(),a)?(this._cursor.advance(),!0):!1}_requireCharCode(a){let s=this._cursor.clone();if(!this._attemptCharCode(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_attemptStr(a){let s=a.length;if(this._cursor.charsLeft()<s)return!1;let l=this._cursor.clone();for(let p=0;p<s;p++)if(!this._attemptCharCode(a.charCodeAt(p)))return this._cursor=l,!1;return!0}_attemptStrCaseInsensitive(a){for(let s=0;s<a.length;s++)if(!this._attemptCharCodeCaseInsensitive(a.charCodeAt(s)))return!1;return!0}_requireStr(a){let s=this._cursor.clone();if(!this._attemptStr(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_requireStrCaseInsensitive(a){let s=this._cursor.clone();if(!this._attemptStrCaseInsensitive(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_attemptCharCodeUntilFn(a){for(;!a(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(a,s){let l=this._cursor.clone();if(this._attemptCharCodeUntilFn(a),this._cursor.diff(l)<s)throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(l))}_attemptUntilChar(a){for(;this._cursor.peek()!==a;)this._cursor.advance()}_readChar(){let a=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),a}_consumeEntity(a){this._beginToken(9);let s=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let l=this._attemptCharCode(120)||this._attemptCharCode(88),p=this._cursor.clone();if(this._attemptCharCodeUntilFn(qw),this._cursor.peek()!=59){this._cursor.advance();let D=l?Hi.HEX:Hi.DEC;throw this._createError(Iw(D,this._cursor.getChars(s)),this._cursor.getSpan())}let f=this._cursor.getChars(p);this._cursor.advance();try{let D=parseInt(f,l?16:10);this._endToken([String.fromCharCode(D),this._cursor.getChars(s)])}catch{throw this._createError($d(this._cursor.getChars(s)),this._cursor.getSpan())}}else{let l=this._cursor.clone();if(this._attemptCharCodeUntilFn(Hw),this._cursor.peek()!=59)this._beginToken(a,s),this._cursor=l,this._endToken(["&"]);else{let p=this._cursor.getChars(l);this._cursor.advance();let f=qi[p];if(!f)throw this._createError($d(p),this._cursor.getSpan(s));this._endToken([f,`&${p};`])}}}_consumeRawText(a,s){this._beginToken(a?6:7);let l=[];for(;;){let p=this._cursor.clone(),f=s();if(this._cursor=p,f)break;a&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(l.join(""))]),l.length=0,this._consumeEntity(6),this._beginToken(6)):l.push(this._readChar())}this._endToken([this._processCarriageReturns(l.join(""))])}_consumeComment(a){this._beginToken(10,a),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(a){this._beginToken(10,a),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(a){this._beginToken(12,a),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(a){this._beginToken(18,a),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let a=this._cursor.clone(),s="";for(;this._cursor.peek()!==58&&!Rw(this._cursor.peek());)this._cursor.advance();let l;this._cursor.peek()===58?(s=this._cursor.getChars(a),this._cursor.advance(),l=this._cursor.clone()):l=a,this._requireCharCodeUntilFn(Td,s===""?0:1);let p=this._cursor.getChars(l);return[s,p]}_consumeTagOpen(a){let s,l,p,f=[];try{if(!ji(this._cursor.peek()))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(a));for(p=this._consumeTagOpenStart(a),l=p.parts[0],s=p.parts[1],this._attemptCharCodeUntilFn(Re);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[E,B]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Re),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(Re);let q=this._consumeAttributeValue();f.push({prefix:E,name:B,value:q})}else f.push({prefix:E,name:B});this._attemptCharCodeUntilFn(Re)}this._consumeTagOpenEnd()}catch(E){if(E instanceof Jo){p?p.type=4:(this._beginToken(5,a),this._endToken(["<"]));return}throw E}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let D=this._getTagContentType(s,l,this._fullNameStack.length>0,f);this._handleFullNameStackForTagOpen(l,s),D===Lt.RAW_TEXT?this._consumeRawTextWithTagClose(l,s,!1):D===Lt.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(l,s,!0)}_consumeRawTextWithTagClose(a,s,l){this._consumeRawText(l,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Re),!this._attemptStrCaseInsensitive(a?`${a}:${s}`:s))?!1:(this._attemptCharCodeUntilFn(Re),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(p=>p===62,3),this._cursor.advance(),this._endToken([a,s]),this._handleFullNameStackForTagClose(a,s)}_consumeTagOpenStart(a){this._beginToken(0,a);let s=this._consumePrefixAndName();return this._endToken(s)}_consumeAttributeName(){let a=this._cursor.peek();if(a===39||a===34)throw this._createError(Fr(a),this._cursor.getSpan());this._beginToken(14);let s=this._consumePrefixAndName();return this._endToken(s),s}_consumeAttributeValue(){let a;if(this._cursor.peek()===39||this._cursor.peek()===34){let s=this._cursor.peek();this._consumeQuote(s);let l=()=>this._cursor.peek()===s;a=this._consumeWithInterpolation(16,17,l,l),this._consumeQuote(s)}else{let s=()=>Td(this._cursor.peek());a=this._consumeWithInterpolation(16,17,s,s)}return a}_consumeQuote(a){this._beginToken(15),this._requireCharCode(a),this._endToken([String.fromCodePoint(a)])}_consumeTagOpenEnd(){let a=this._attemptCharCode(47)?2:1;this._beginToken(a),this._requireCharCode(62),this._endToken([])}_consumeTagClose(a){if(this._beginToken(3,a),this._attemptCharCodeUntilFn(Re),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Re),this._requireCharCode(62),this._endToken([]);else{let[s,l]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Re),this._requireCharCode(62),this._endToken([s,l]),this._handleFullNameStackForTagClose(s,l)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let a=this._readUntil(44),s=this._processCarriageReturns(a);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([s]);else{let p=this._endToken([a]);s!==a&&this.nonNormalizedIcuExpressions.push(p)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Re),this._beginToken(7);let l=this._readUntil(44);this._endToken([l]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Re)}_consumeExpansionCaseStart(){this._beginToken(21);let a=this._readUntil(123).trim();this._endToken([a]),this._attemptCharCodeUntilFn(Re),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Re),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Re),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(a,s,l,p){this._beginToken(a);let f=[];for(;!l();){let E=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(f.join(""))],E),f.length=0,this._consumeInterpolation(s,E,p),this._beginToken(a)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(f.join(""))]),f.length=0,this._consumeEntity(a),this._beginToken(a)):f.push(this._readChar())}this._inInterpolation=!1;let D=this._processCarriageReturns(f.join(""));return this._endToken([D]),D}_consumeInterpolation(a,s,l){let p=[];this._beginToken(a,s),p.push(this._interpolationConfig.start);let f=this._cursor.clone(),D=null,E=!1;for(;this._cursor.peek()!==0&&(l===null||!l());){let B=this._cursor.clone();if(this._isTagStart()){this._cursor=B,p.push(this._getProcessedChars(f,B)),this._endToken(p);return}if(D===null)if(this._attemptStr(this._interpolationConfig.end)){p.push(this._getProcessedChars(f,B)),p.push(this._interpolationConfig.end),this._endToken(p);return}else this._attemptStr("//")&&(E=!0);let q=this._cursor.peek();this._cursor.advance(),q===92?this._cursor.advance():q===D?D=null:!E&&D===null&&zo(q)&&(D=q)}p.push(this._getProcessedChars(f,this._cursor)),this._endToken(p)}_getProcessedChars(a,s){return this._processCarriageReturns(s.getChars(a))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let a=this._cursor.clone();a.advance();let s=a.peek();if(97<=s&&s<=122||65<=s&&s<=90||s===47||s===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let a=this._cursor.clone();if(a.advance(),Nd(a.peek()))return!0}return!1}_readUntil(a){let s=this._cursor.clone();return this._attemptUntilChar(a),this._cursor.getChars(s)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let a=this._cursor.clone(),s=this._attemptStr(this._interpolationConfig.start);return this._cursor=a,!s}return!0}_handleFullNameStackForTagOpen(a,s){let l=Ii(a,s);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===l)&&this._fullNameStack.push(l)}_handleFullNameStackForTagClose(a,s){let l=Ii(a,s);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===l&&this._fullNameStack.pop()}};function Re(a){return!Ni(a)||a===0}function Td(a){return Ni(a)||a===62||a===60||a===47||a===39||a===34||a===61||a===0}function Rw(a){return(a<97||122<a)&&(a<65||90<a)&&(a<48||a>57)}function qw(a){return a===59||a===0||!V1(a)}function Hw(a){return a===59||a===0||!ji(a)}function Uw(a){return a!==125}function Ww(a,s){return Bd(a)===Bd(s)}function Bd(a){return a>=97&&a<=122?a-97+65:a}function Nd(a){return ji(a)||Wo(a)||a===95}function jd(a){return a!==59&&Re(a)}function Vw(a){let s=[],l;for(let p=0;p<a.length;p++){let f=a[p];l&&l.type===5&&f.type===5||l&&l.type===16&&f.type===16?(l.parts[0]+=f.parts[0],l.sourceSpan.end=f.sourceSpan.end):(l=f,s.push(l))}return s}var Pd=class el{constructor(s,l){if(s instanceof el){this.file=s.file,this.input=s.input,this.end=s.end;let p=s.state;this.state={peek:p.peek,offset:p.offset,line:p.line,column:p.column}}else{if(!l)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=s,this.input=s.content,this.end=l.endPos,this.state={peek:-1,offset:l.startPos,line:l.startLine,column:l.startCol}}}clone(){return new el(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(s){return this.state.offset-s.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(s,l){s=s||this;let p=s;if(l)for(;this.diff(s)>0&&l.indexOf(s.peek())!==-1;)p===s&&(s=s.clone()),s.advance();let f=this.locationFromCursor(s),D=this.locationFromCursor(this),E=p!==s?this.locationFromCursor(p):f;return new se(f,D,E)}getChars(s){return this.input.substring(s.state.offset,this.state.offset)}charAt(s){return this.input.charCodeAt(s)}advanceState(s){if(s.offset>=this.end)throw this.state=s,new Xo('Unexpected character "EOF"',this);let l=this.charAt(s.offset);l===10?(s.line++,s.column=0):Vo(l)||s.column++,s.offset++,this.updatePeek(s)}updatePeek(s){s.peek=s.offset>=this.end?0:this.charAt(s.offset)}locationFromCursor(s){return new Go(s.file,s.state.offset,s.state.line,s.state.column)}},zw=class tl extends Pd{constructor(s,l){s instanceof tl?(super(s),this.internalState={...s.internalState}):(super(s,l),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new tl(this)}getChars(s){let l=s.clone(),p="";for(;l.internalState.offset<this.internalState.offset;)p+=String.fromCodePoint(l.peek()),l.advance();return p}processEscapeSequence(){let s=()=>this.internalState.peek;if(s()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),s()===110)this.state.peek=10;else if(s()===114)this.state.peek=13;else if(s()===118)this.state.peek=11;else if(s()===116)this.state.peek=9;else if(s()===98)this.state.peek=8;else if(s()===102)this.state.peek=12;else if(s()===117)if(this.advanceState(this.internalState),s()===123){this.advanceState(this.internalState);let l=this.clone(),p=0;for(;s()!==125;)this.advanceState(this.internalState),p++;this.state.peek=this.decodeHexDigits(l,p)}else{let l=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(l,4)}else if(s()===120){this.advanceState(this.internalState);let l=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(l,2)}else if(ud(s())){let l="",p=0,f=this.clone();for(;ud(s())&&p<3;)f=this.clone(),l+=String.fromCodePoint(s()),this.advanceState(this.internalState),p++;this.state.peek=parseInt(l,8),this.internalState=f.internalState}else Vo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(s,l){let p=this.input.slice(s.internalState.offset,s.internalState.offset+l),f=parseInt(p,16);if(isNaN(f))throw s.state=s.internalState,new Xo("Invalid hexadecimal escape sequence",s);return f}},Xo=class{constructor(a,s){this.msg=a,this.cursor=s}},ut=class Jd extends pd{static create(s,l,p){return new Jd(s,l,p)}constructor(s,l,p){super(l,p),this.elementName=s}},Gw=class{constructor(a,s){this.rootNodes=a,this.errors=s}},Yw=class{constructor(a){this.getTagDefinition=a}parse(a,s,l,p=!1,f){let D=pe=>(Ae,...We)=>pe(Ae.toLowerCase(),...We),E=p?this.getTagDefinition:D(this.getTagDefinition),B=pe=>E(pe).getContentType(),q=p?f:D(f),Y=Lw(a,s,f?(pe,Ae,We,nt)=>{let st=q(pe,Ae,We,nt);return st!==void 0?st:B(pe)}:B,l),W=l&&l.canSelfClose||!1,we=l&&l.allowHtmComponentClosingTags||!1,ge=new Kw(Y.tokens,E,W,we,p);return ge.build(),new Gw(ge.rootNodes,Y.errors.concat(ge.errors))}},Kw=class Xd{constructor(s,l,p,f,D){this.tokens=s,this.getTagDefinition=l,this.canSelfClose=p,this.allowHtmComponentClosingTags=f,this.isTagNameCaseSensitive=D,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let s of this._containerStack)s instanceof Er&&this.errors.push(ut.create(s.name,s.sourceSpan,`Unclosed block "${s.name}"`))}_advance(){let s=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],s}_advanceIf(s){return this._peek.type===s?this._advance():null}_consumeCdata(s){let l=this._advance(),p=this._getText(l),f=this._advanceIf(13);this._addToParent(new _w(p,new se(s.sourceSpan.start,(f||l).sourceSpan.end),[l]))}_consumeComment(s){let l=this._advanceIf(7),p=this._advanceIf(11),f=l!=null?l.parts[0].trim():null,D=p==null?s.sourceSpan:new se(s.sourceSpan.start,p.sourceSpan.end,s.sourceSpan.fullStart);this._addToParent(new Fw(f,D))}_consumeDocType(s){let l=this._advanceIf(7),p=this._advanceIf(19),f=l!=null?l.parts[0].trim():null,D=new se(s.sourceSpan.start,(p||l||s).sourceSpan.end);this._addToParent(new Aw(f,D))}_consumeExpansion(s){let l=this._advance(),p=this._advance(),f=[];for(;this._peek.type===21;){let E=this._parseExpansionCase();if(!E)return;f.push(E)}if(this._peek.type!==24){this.errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let D=new se(s.sourceSpan.start,this._peek.sourceSpan.end,s.sourceSpan.fullStart);this._addToParent(new xw(l.parts[0],p.parts[0],f,D,l.sourceSpan)),this._advance()}_parseExpansionCase(){let s=this._advance();if(this._peek.type!==22)return this.errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let l=this._advance(),p=this._collectExpansionExpTokens(l);if(!p)return null;let f=this._advance();p.push({type:34,parts:[],sourceSpan:f.sourceSpan});let D=new Xd(p,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(D.build(),D.errors.length>0)return this.errors=this.errors.concat(D.errors),null;let E=new se(s.sourceSpan.start,f.sourceSpan.end,s.sourceSpan.fullStart),B=new se(l.sourceSpan.start,f.sourceSpan.end,l.sourceSpan.fullStart);return new Sw(s.parts[0],D.rootNodes,E,s.sourceSpan,B)}_collectExpansionExpTokens(s){let l=[],p=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&p.push(this._peek.type),this._peek.type===23)if(Ld(p,22)){if(p.pop(),p.length===0)return l}else return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ld(p,20))p.pop();else return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;l.push(this._advance())}}_getText(s){let l=s.parts[0];if(l.length>0&&l[0]==`
637
+ `)}tokenize(){for(;this._cursor.peek()!==0;){let a=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(a):this._attemptStr("--")?this._consumeComment(a):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(a):this._consumeBogusComment(a);else if(this._attemptCharCode(47))this._consumeTagClose(a);else{let s=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=s,this._consumeBogusComment(a)):this._consumeTagOpen(a)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(a):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(a):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(a):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(s){this.handleError(s)}}this._beginToken(34),this._endToken([])}_getBlockName(){let a=!1,s=this._cursor.clone();return this._attemptCharCodeUntilFn(l=>Ni(l)?!a:Nd(l)?(a=!0,!1):!0),this._cursor.getChars(s).trim()}_consumeBlockStart(a){this._beginToken(25,a);let s=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(Re),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Re);else{s.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):s.type=29}_consumeBlockEnd(a){this._beginToken(27,a),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(jd);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let a=this._cursor.clone(),s=null,l=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||s!==null;){let p=this._cursor.peek();if(p===92)this._cursor.advance();else if(p===s)s=null;else if(s===null&&zo(p))s=p;else if(p===40&&s===null)l++;else if(p===41&&s===null){if(l===0)break;l>0&&l--}this._cursor.advance()}this._endToken([this._cursor.getChars(a)]),this._attemptCharCodeUntilFn(jd)}}_consumeLetDeclaration(a){if(this._beginToken(30,a),Ni(this._cursor.peek()))this._attemptCharCodeUntilFn(Re);else{let l=this._endToken([this._cursor.getChars(a)]);l.type=33;return}let s=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(Re),!this._attemptCharCode(61)){s.type=33;return}this._attemptCharCodeUntilFn(l=>Re(l)&&!Vo(l)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(s.type=33,s.sourceSpan=this._cursor.getSpan(a))}_getLetDeclarationName(){let a=this._cursor.clone(),s=!1;return this._attemptCharCodeUntilFn(l=>ji(l)||l==36||l===95||s&&Wo(l)?(s=!0,!1):!0),this._cursor.getChars(a).trim()}_consumeLetDeclarationValue(){let a=this._cursor.clone();for(this._beginToken(31,a);this._cursor.peek()!==0;){let s=this._cursor.peek();if(s===59)break;zo(s)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(l=>l===92?(this._cursor.advance(),!1):l===s)),this._cursor.advance()}this._endToken([this._cursor.getChars(a)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Uw(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(a,s=this._cursor.clone()){this._currentTokenStart=s,this._currentTokenType=a}_endToken(a,s){if(this._currentTokenStart===null)throw new Ko("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(s));if(this._currentTokenType===null)throw new Ko("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let l={type:this._currentTokenType,parts:a,sourceSpan:(s??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(l),this._currentTokenStart=null,this._currentTokenType=null,l}_createError(a,s){this._isInExpansionForm()&&(a+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let l=new Ko(a,this._currentTokenType,s);return this._currentTokenStart=null,this._currentTokenType=null,new Jo(l)}handleError(a){if(a instanceof Xo&&(a=this._createError(a.msg,this._cursor.getSpan(a.cursor))),a instanceof Jo)this.errors.push(a.error);else throw a}_attemptCharCode(a){return this._cursor.peek()===a?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(a){return Ww(this._cursor.peek(),a)?(this._cursor.advance(),!0):!1}_requireCharCode(a){let s=this._cursor.clone();if(!this._attemptCharCode(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_attemptStr(a){let s=a.length;if(this._cursor.charsLeft()<s)return!1;let l=this._cursor.clone();for(let p=0;p<s;p++)if(!this._attemptCharCode(a.charCodeAt(p)))return this._cursor=l,!1;return!0}_attemptStrCaseInsensitive(a){for(let s=0;s<a.length;s++)if(!this._attemptCharCodeCaseInsensitive(a.charCodeAt(s)))return!1;return!0}_requireStr(a){let s=this._cursor.clone();if(!this._attemptStr(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_requireStrCaseInsensitive(a){let s=this._cursor.clone();if(!this._attemptStrCaseInsensitive(a))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(s))}_attemptCharCodeUntilFn(a){for(;!a(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(a,s){let l=this._cursor.clone();if(this._attemptCharCodeUntilFn(a),this._cursor.diff(l)<s)throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(l))}_attemptUntilChar(a){for(;this._cursor.peek()!==a;)this._cursor.advance()}_readChar(){let a=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),a}_consumeEntity(a){this._beginToken(9);let s=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let l=this._attemptCharCode(120)||this._attemptCharCode(88),p=this._cursor.clone();if(this._attemptCharCodeUntilFn(qw),this._cursor.peek()!=59){this._cursor.advance();let D=l?Hi.HEX:Hi.DEC;throw this._createError(Iw(D,this._cursor.getChars(s)),this._cursor.getSpan())}let f=this._cursor.getChars(p);this._cursor.advance();try{let D=parseInt(f,l?16:10);this._endToken([String.fromCharCode(D),this._cursor.getChars(s)])}catch{throw this._createError($d(this._cursor.getChars(s)),this._cursor.getSpan())}}else{let l=this._cursor.clone();if(this._attemptCharCodeUntilFn(Hw),this._cursor.peek()!=59)this._beginToken(a,s),this._cursor=l,this._endToken(["&"]);else{let p=this._cursor.getChars(l);this._cursor.advance();let f=qi[p];if(!f)throw this._createError($d(p),this._cursor.getSpan(s));this._endToken([f,`&${p};`])}}}_consumeRawText(a,s){this._beginToken(a?6:7);let l=[];for(;;){let p=this._cursor.clone(),f=s();if(this._cursor=p,f)break;a&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(l.join(""))]),l.length=0,this._consumeEntity(6),this._beginToken(6)):l.push(this._readChar())}this._endToken([this._processCarriageReturns(l.join(""))])}_consumeComment(a){this._beginToken(10,a),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(a){this._beginToken(10,a),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(a){this._beginToken(12,a),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(a){this._beginToken(18,a),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let a=this._cursor.clone(),s="";for(;this._cursor.peek()!==58&&!Rw(this._cursor.peek());)this._cursor.advance();let l;this._cursor.peek()===58?(s=this._cursor.getChars(a),this._cursor.advance(),l=this._cursor.clone()):l=a,this._requireCharCodeUntilFn(Td,s===""?0:1);let p=this._cursor.getChars(l);return[s,p]}_consumeTagOpen(a){let s,l,p,f=[];try{if(!ji(this._cursor.peek()))throw this._createError(Fr(this._cursor.peek()),this._cursor.getSpan(a));for(p=this._consumeTagOpenStart(a),l=p.parts[0],s=p.parts[1],this._attemptCharCodeUntilFn(Re);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[E,B]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Re),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(Re);let q=this._consumeAttributeValue();f.push({prefix:E,name:B,value:q})}else f.push({prefix:E,name:B});this._attemptCharCodeUntilFn(Re)}this._consumeTagOpenEnd()}catch(E){if(E instanceof Jo){p?p.type=4:(this._beginToken(5,a),this._endToken(["<"]));return}throw E}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let D=this._getTagContentType(s,l,this._fullNameStack.length>0,f);this._handleFullNameStackForTagOpen(l,s),D===Lt.RAW_TEXT?this._consumeRawTextWithTagClose(l,s,!1):D===Lt.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(l,s,!0)}_consumeRawTextWithTagClose(a,s,l){this._consumeRawText(l,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(Re),!this._attemptStrCaseInsensitive(a?`${a}:${s}`:s))?!1:(this._attemptCharCodeUntilFn(Re),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(p=>p===62,3),this._cursor.advance(),this._endToken([a,s]),this._handleFullNameStackForTagClose(a,s)}_consumeTagOpenStart(a){this._beginToken(0,a);let s=this._consumePrefixAndName();return this._endToken(s)}_consumeAttributeName(){let a=this._cursor.peek();if(a===39||a===34)throw this._createError(Fr(a),this._cursor.getSpan());this._beginToken(14);let s=this._consumePrefixAndName();return this._endToken(s),s}_consumeAttributeValue(){let a;if(this._cursor.peek()===39||this._cursor.peek()===34){let s=this._cursor.peek();this._consumeQuote(s);let l=()=>this._cursor.peek()===s;a=this._consumeWithInterpolation(16,17,l,l),this._consumeQuote(s)}else{let s=()=>Td(this._cursor.peek());a=this._consumeWithInterpolation(16,17,s,s)}return a}_consumeQuote(a){this._beginToken(15),this._requireCharCode(a),this._endToken([String.fromCodePoint(a)])}_consumeTagOpenEnd(){let a=this._attemptCharCode(47)?2:1;this._beginToken(a),this._requireCharCode(62),this._endToken([])}_consumeTagClose(a){if(this._beginToken(3,a),this._attemptCharCodeUntilFn(Re),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(Re),this._requireCharCode(62),this._endToken([]);else{let[s,l]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Re),this._requireCharCode(62),this._endToken([s,l]),this._handleFullNameStackForTagClose(s,l)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let a=this._readUntil(44),s=this._processCarriageReturns(a);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([s]);else{let p=this._endToken([a]);s!==a&&this.nonNormalizedIcuExpressions.push(p)}this._requireCharCode(44),this._attemptCharCodeUntilFn(Re),this._beginToken(7);let l=this._readUntil(44);this._endToken([l]),this._requireCharCode(44),this._attemptCharCodeUntilFn(Re)}_consumeExpansionCaseStart(){this._beginToken(21);let a=this._readUntil(123).trim();this._endToken([a]),this._attemptCharCodeUntilFn(Re),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(Re),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(Re),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(a,s,l,p){this._beginToken(a);let f=[];for(;!l();){let E=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(f.join(""))],E),f.length=0,this._consumeInterpolation(s,E,p),this._beginToken(a)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(f.join(""))]),f.length=0,this._consumeEntity(a),this._beginToken(a)):f.push(this._readChar())}this._inInterpolation=!1;let D=this._processCarriageReturns(f.join(""));return this._endToken([D]),D}_consumeInterpolation(a,s,l){let p=[];this._beginToken(a,s),p.push(this._interpolationConfig.start);let f=this._cursor.clone(),D=null,E=!1;for(;this._cursor.peek()!==0&&(l===null||!l());){let B=this._cursor.clone();if(this._isTagStart()){this._cursor=B,p.push(this._getProcessedChars(f,B)),this._endToken(p);return}if(D===null)if(this._attemptStr(this._interpolationConfig.end)){p.push(this._getProcessedChars(f,B)),p.push(this._interpolationConfig.end),this._endToken(p);return}else this._attemptStr("//")&&(E=!0);let q=this._cursor.peek();this._cursor.advance(),q===92?this._cursor.advance():q===D?D=null:!E&&D===null&&zo(q)&&(D=q)}p.push(this._getProcessedChars(f,this._cursor)),this._endToken(p)}_getProcessedChars(a,s){return this._processCarriageReturns(s.getChars(a))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let a=this._cursor.clone();a.advance();let s=a.peek();if(97<=s&&s<=122||65<=s&&s<=90||s===47||s===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let a=this._cursor.clone();if(a.advance(),Nd(a.peek()))return!0}return!1}_readUntil(a){let s=this._cursor.clone();return this._attemptUntilChar(a),this._cursor.getChars(s)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let a=this._cursor.clone(),s=this._attemptStr(this._interpolationConfig.start);return this._cursor=a,!s}return!0}_handleFullNameStackForTagOpen(a,s){let l=Ii(a,s);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===l)&&this._fullNameStack.push(l)}_handleFullNameStackForTagClose(a,s){let l=Ii(a,s);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===l&&this._fullNameStack.pop()}};function Re(a){return!Ni(a)||a===0}function Td(a){return Ni(a)||a===62||a===60||a===47||a===39||a===34||a===61||a===0}function Rw(a){return(a<97||122<a)&&(a<65||90<a)&&(a<48||a>57)}function qw(a){return a===59||a===0||!V1(a)}function Hw(a){return a===59||a===0||!ji(a)}function Uw(a){return a!==125}function Ww(a,s){return Bd(a)===Bd(s)}function Bd(a){return a>=97&&a<=122?a-97+65:a}function Nd(a){return ji(a)||Wo(a)||a===95}function jd(a){return a!==59&&Re(a)}function Vw(a){let s=[],l;for(let p=0;p<a.length;p++){let f=a[p];l&&l.type===5&&f.type===5||l&&l.type===16&&f.type===16?(l.parts[0]+=f.parts[0],l.sourceSpan.end=f.sourceSpan.end):(l=f,s.push(l))}return s}var Pd=class el{constructor(s,l){if(s instanceof el){this.file=s.file,this.input=s.input,this.end=s.end;let p=s.state;this.state={peek:p.peek,offset:p.offset,line:p.line,column:p.column}}else{if(!l)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=s,this.input=s.content,this.end=l.endPos,this.state={peek:-1,offset:l.startPos,line:l.startLine,column:l.startCol}}}clone(){return new el(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(s){return this.state.offset-s.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(s,l){s=s||this;let p=s;if(l)for(;this.diff(s)>0&&l.indexOf(s.peek())!==-1;)p===s&&(s=s.clone()),s.advance();let f=this.locationFromCursor(s),D=this.locationFromCursor(this),E=p!==s?this.locationFromCursor(p):f;return new se(f,D,E)}getChars(s){return this.input.substring(s.state.offset,this.state.offset)}charAt(s){return this.input.charCodeAt(s)}advanceState(s){if(s.offset>=this.end)throw this.state=s,new Xo('Unexpected character "EOF"',this);let l=this.charAt(s.offset);l===10?(s.line++,s.column=0):Vo(l)||s.column++,s.offset++,this.updatePeek(s)}updatePeek(s){s.peek=s.offset>=this.end?0:this.charAt(s.offset)}locationFromCursor(s){return new Go(s.file,s.state.offset,s.state.line,s.state.column)}},zw=class tl extends Pd{constructor(s,l){s instanceof tl?(super(s),this.internalState={...s.internalState}):(super(s,l),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new tl(this)}getChars(s){let l=s.clone(),p="";for(;l.internalState.offset<this.internalState.offset;)p+=String.fromCodePoint(l.peek()),l.advance();return p}processEscapeSequence(){let s=()=>this.internalState.peek;if(s()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),s()===110)this.state.peek=10;else if(s()===114)this.state.peek=13;else if(s()===118)this.state.peek=11;else if(s()===116)this.state.peek=9;else if(s()===98)this.state.peek=8;else if(s()===102)this.state.peek=12;else if(s()===117)if(this.advanceState(this.internalState),s()===123){this.advanceState(this.internalState);let l=this.clone(),p=0;for(;s()!==125;)this.advanceState(this.internalState),p++;this.state.peek=this.decodeHexDigits(l,p)}else{let l=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(l,4)}else if(s()===120){this.advanceState(this.internalState);let l=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(l,2)}else if(ud(s())){let l="",p=0,f=this.clone();for(;ud(s())&&p<3;)f=this.clone(),l+=String.fromCodePoint(s()),this.advanceState(this.internalState),p++;this.state.peek=parseInt(l,8),this.internalState=f.internalState}else Vo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(s,l){let p=this.input.slice(s.internalState.offset,s.internalState.offset+l),f=parseInt(p,16);if(isNaN(f))throw s.state=s.internalState,new Xo("Invalid hexadecimal escape sequence",s);return f}},Xo=class{constructor(a,s){this.msg=a,this.cursor=s}},ut=class Jd extends pd{static create(s,l,p){return new Jd(s,l,p)}constructor(s,l,p){super(l,p),this.elementName=s}},Gw=class{constructor(a,s){this.rootNodes=a,this.errors=s}},Yw=class{constructor(a){this.getTagDefinition=a}parse(a,s,l,p=!1,f){let D=pe=>(Ae,...Ve)=>pe(Ae.toLowerCase(),...Ve),E=p?this.getTagDefinition:D(this.getTagDefinition),B=pe=>E(pe).getContentType(),q=p?f:D(f),Y=Lw(a,s,f?(pe,Ae,Ve,nt)=>{let st=q(pe,Ae,Ve,nt);return st!==void 0?st:B(pe)}:B,l),W=l&&l.canSelfClose||!1,we=l&&l.allowHtmComponentClosingTags||!1,ge=new Kw(Y.tokens,E,W,we,p);return ge.build(),new Gw(ge.rootNodes,Y.errors.concat(ge.errors))}},Kw=class Xd{constructor(s,l,p,f,D){this.tokens=s,this.getTagDefinition=l,this.canSelfClose=p,this.allowHtmComponentClosingTags=f,this.isTagNameCaseSensitive=D,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let s of this._containerStack)s instanceof Er&&this.errors.push(ut.create(s.name,s.sourceSpan,`Unclosed block "${s.name}"`))}_advance(){let s=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],s}_advanceIf(s){return this._peek.type===s?this._advance():null}_consumeCdata(s){let l=this._advance(),p=this._getText(l),f=this._advanceIf(13);this._addToParent(new _w(p,new se(s.sourceSpan.start,(f||l).sourceSpan.end),[l]))}_consumeComment(s){let l=this._advanceIf(7),p=this._advanceIf(11),f=l!=null?l.parts[0].trim():null,D=p==null?s.sourceSpan:new se(s.sourceSpan.start,p.sourceSpan.end,s.sourceSpan.fullStart);this._addToParent(new Fw(f,D))}_consumeDocType(s){let l=this._advanceIf(7),p=this._advanceIf(19),f=l!=null?l.parts[0].trim():null,D=new se(s.sourceSpan.start,(p||l||s).sourceSpan.end);this._addToParent(new Aw(f,D))}_consumeExpansion(s){let l=this._advance(),p=this._advance(),f=[];for(;this._peek.type===21;){let E=this._parseExpansionCase();if(!E)return;f.push(E)}if(this._peek.type!==24){this.errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let D=new se(s.sourceSpan.start,this._peek.sourceSpan.end,s.sourceSpan.fullStart);this._addToParent(new xw(l.parts[0],p.parts[0],f,D,l.sourceSpan)),this._advance()}_parseExpansionCase(){let s=this._advance();if(this._peek.type!==22)return this.errors.push(ut.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let l=this._advance(),p=this._collectExpansionExpTokens(l);if(!p)return null;let f=this._advance();p.push({type:34,parts:[],sourceSpan:f.sourceSpan});let D=new Xd(p,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(D.build(),D.errors.length>0)return this.errors=this.errors.concat(D.errors),null;let E=new se(s.sourceSpan.start,f.sourceSpan.end,s.sourceSpan.fullStart),B=new se(l.sourceSpan.start,f.sourceSpan.end,l.sourceSpan.fullStart);return new Sw(s.parts[0],D.rootNodes,E,s.sourceSpan,B)}_collectExpansionExpTokens(s){let l=[],p=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&p.push(this._peek.type),this._peek.type===23)if(Ld(p,22)){if(p.pop(),p.length===0)return l}else return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ld(p,20))p.pop();else return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ut.create(null,s.sourceSpan,"Invalid ICU message. Missing '}'.")),null;l.push(this._advance())}}_getText(s){let l=s.parts[0];if(l.length>0&&l[0]==`
638
638
  `){let p=this._getClosestParentElement();p!=null&&p.children.length==0&&this.getTagDefinition(p.name).ignoreFirstLf&&(l=l.substring(1))}return l}_consumeText(s){let l=[s],p=s.sourceSpan,f=s.parts[0];if(f.length>0&&f[0]===`
639
639
  `){let D=this._getContainer();D!=null&&D.children.length===0&&this.getTagDefinition(D.name).ignoreFirstLf&&(f=f.substring(1),l[0]={type:s.type,sourceSpan:s.sourceSpan,parts:[f]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)s=this._advance(),l.push(s),s.type===8?f+=s.parts.join("").replace(/&([^;]+);/g,Od):s.type===9?f+=s.parts[0]:f+=s.parts.join("");if(f.length>0){let D=s.sourceSpan;this._addToParent(new Cw(f,new se(p.start,D.end,p.fullStart,p.details),l))}}_closeVoidElement(){let s=this._getContainer();s instanceof _n&&this.getTagDefinition(s.name).isVoid&&this._containerStack.pop()}_consumeStartTag(s){let[l,p]=s.parts,f=[];for(;this._peek.type===14;)f.push(this._consumeAttr(this._advance()));let D=this._getElementFullName(l,p,this._getClosestParentElement()),E=!1;if(this._peek.type===2){this._advance(),E=!0;let pe=this.getTagDefinition(D);this.canSelfClose||pe.canSelfClose||Oi(D)!==null||pe.isVoid||this.errors.push(ut.create(D,s.sourceSpan,`Only void, custom and foreign elements can be self closed "${s.parts[1]}"`))}else this._peek.type===1&&(this._advance(),E=!1);let B=this._peek.sourceSpan.fullStart,q=new se(s.sourceSpan.start,B,s.sourceSpan.fullStart),Y=new se(s.sourceSpan.start,B,s.sourceSpan.fullStart),W=new se(s.sourceSpan.start.moveBy(1),s.sourceSpan.end),we=new _n(D,f,[],q,Y,void 0,W),ge=this._getContainer();this._pushContainer(we,ge instanceof _n&&this.getTagDefinition(ge.name).isClosedByChild(we.name)),E?this._popContainer(D,_n,q):s.type===4&&(this._popContainer(D,_n,null),this.errors.push(ut.create(D,q,`Opening tag "${D}" not terminated.`)))}_pushContainer(s,l){l&&this._containerStack.pop(),this._addToParent(s),this._containerStack.push(s)}_consumeEndTag(s){let l=this.allowHtmComponentClosingTags&&s.parts.length===0?null:this._getElementFullName(s.parts[0],s.parts[1],this._getClosestParentElement());if(l&&this.getTagDefinition(l).isVoid)this.errors.push(ut.create(l,s.sourceSpan,`Void elements do not have end tags "${s.parts[1]}"`));else if(!this._popContainer(l,_n,s.sourceSpan)){let p=`Unexpected closing tag "${l}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ut.create(l,s.sourceSpan,p))}}_popContainer(s,l,p){let f=!1;for(let D=this._containerStack.length-1;D>=0;D--){let E=this._containerStack[D];if(Oi(E.name)?E.name===s:(s==null||E.name.toLowerCase()===s.toLowerCase())&&E instanceof l)return E.endSourceSpan=p,E.sourceSpan.end=p!==null?p.end:E.sourceSpan.end,this._containerStack.splice(D,this._containerStack.length-D),!f;(E instanceof Er||E instanceof _n&&!this.getTagDefinition(E.name).closedByParent)&&(f=!0)}return!1}_consumeAttr(s){let l=Ii(s.parts[0],s.parts[1]),p=s.sourceSpan.end,f;this._peek.type===15&&(f=this._advance());let D="",E=[],B,q;if(this._peek.type===16)for(B=this._peek.sourceSpan,q=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let W=this._advance();E.push(W),W.type===17?D+=W.parts.join("").replace(/&([^;]+);/g,Od):W.type===9?D+=W.parts[0]:D+=W.parts.join(""),q=p=W.sourceSpan.end}this._peek.type===15&&(q=p=this._advance().sourceSpan.end);let Y=B&&q&&new se((f==null?void 0:f.sourceSpan.start)??B.start,q,(f==null?void 0:f.sourceSpan.fullStart)??B.fullStart);return new Ew(l,D,new se(s.sourceSpan.start,p,s.sourceSpan.fullStart),s.sourceSpan,Y,E.length>0?E:void 0,void 0)}_consumeBlockOpen(s){let l=[];for(;this._peek.type===28;){let B=this._advance();l.push(new Sd(B.parts[0],B.sourceSpan))}this._peek.type===26&&this._advance();let p=this._peek.sourceSpan.fullStart,f=new se(s.sourceSpan.start,p,s.sourceSpan.fullStart),D=new se(s.sourceSpan.start,p,s.sourceSpan.fullStart),E=new Er(s.parts[0],l,[],f,s.sourceSpan,D);this._pushContainer(E,!1)}_consumeBlockClose(s){this._popContainer(null,Er,s.sourceSpan)||this.errors.push(ut.create(null,s.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(s){let l=[];for(;this._peek.type===28;){let B=this._advance();l.push(new Sd(B.parts[0],B.sourceSpan))}let p=this._peek.sourceSpan.fullStart,f=new se(s.sourceSpan.start,p,s.sourceSpan.fullStart),D=new se(s.sourceSpan.start,p,s.sourceSpan.fullStart),E=new Er(s.parts[0],l,[],f,s.sourceSpan,D);this._pushContainer(E,!1),this._popContainer(null,Er,null),this.errors.push(ut.create(s.parts[0],f,`Incomplete block "${s.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(s){let l=s.parts[0],p,f;if(this._peek.type!==31){this.errors.push(ut.create(s.parts[0],s.sourceSpan,`Invalid @let declaration "${l}". Declaration must have a value.`));return}else p=this._advance();if(this._peek.type!==32){this.errors.push(ut.create(s.parts[0],s.sourceSpan,`Unterminated @let declaration "${l}". Declaration must be terminated with a semicolon.`));return}else f=this._advance();let D=f.sourceSpan.fullStart,E=new se(s.sourceSpan.start,D,s.sourceSpan.fullStart),B=s.sourceSpan.toString().lastIndexOf(l),q=s.sourceSpan.start.moveBy(B),Y=new se(q,s.sourceSpan.end),W=new Ed(l,p.parts[0],E,Y,p.sourceSpan);this._addToParent(W)}_consumeIncompleteLet(s){let l=s.parts[0]??"",p=l?` "${l}"`:"";if(l.length>0){let f=s.sourceSpan.toString().lastIndexOf(l),D=s.sourceSpan.start.moveBy(f),E=new se(D,s.sourceSpan.end),B=new se(s.sourceSpan.start,s.sourceSpan.start.moveBy(0)),q=new Ed(l,"",s.sourceSpan,E,B);this._addToParent(q)}this.errors.push(ut.create(s.parts[0],s.sourceSpan,`Incomplete @let declaration${p}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let s=this._containerStack.length-1;s>-1;s--)if(this._containerStack[s]instanceof _n)return this._containerStack[s];return null}_addToParent(s){let l=this._getContainer();l===null?this.rootNodes.push(s):l.children.push(s)}_getElementFullName(s,l,p){if(s===""&&(s=this.getTagDefinition(l).implicitNamespacePrefix||"",s===""&&p!=null)){let f=Li(p.name)[1];this.getTagDefinition(f).preventNamespaceInheritance||(s=Oi(p.name))}return Ii(s,l)}};function Ld(a,s){return a.length>0&&a[a.length-1]===s}function Od(a,s){return qi[s]!==void 0?qi[s]||a:/^#x[a-f0-9]+$/i.test(s)?String.fromCodePoint(parseInt(s.slice(2),16)):/^#\d+$/.test(s)?String.fromCodePoint(parseInt(s.slice(1),10)):a}var Jw=class extends Yw{constructor(){super(Yo)}parse(a,s,l,p=!1,f){return super.parse(a,s,l,p,f)}},Qo=null,Xw=()=>(Qo||(Qo=new Jw),Qo);function Id(a,s={}){let{canSelfClose:l=!1,allowHtmComponentClosingTags:p=!1,isTagNameCaseSensitive:f=!1,getTagContentType:D,tokenizeAngularBlocks:E=!1,tokenizeAngularLetDeclaration:B=!1}=s;return Xw().parse(a,"angular-html-parser",{tokenizeExpansionForms:E,interpolationConfig:void 0,canSelfClose:l,allowHtmComponentClosingTags:p,tokenizeBlocks:E,tokenizeLet:B},f,D)}function Qw(a,s){let l=new SyntaxError(a+" ("+s.loc.start.line+":"+s.loc.start.column+")");return Object.assign(l,s)}var Zw=Qw,xa=3;function eC(a){let s=a.slice(0,xa);if(s!=="---"&&s!=="+++")return;let l=a.indexOf(`
640
640
  `,xa);if(l===-1)return;let p=a.slice(xa,l).trim(),f=a.indexOf(`
641
641
  ${s}`,l),D=p;if(D||(D=s==="+++"?"toml":"yaml"),f===-1&&s==="---"&&D==="yaml"&&(f=a.indexOf(`
642
- ...`,l)),f===-1)return;let E=f+1+xa,B=a.charAt(E+1);if(!/\s?/u.test(B))return;let q=a.slice(0,E);return{type:"front-matter",language:D,explicitLanguage:p,value:a.slice(l+1,f),startDelimiter:s,endDelimiter:q.slice(-xa),raw:q}}function tC(a){let s=eC(a);if(!s)return{content:a};let{raw:l}=s;return{frontMatter:s,content:C(!1,l,/[^\n]/gu," ")+a.slice(l.length)}}var nC=tC,Ui={attrs:!0,children:!0,cases:!0,expression:!0},Md=new Set(["parent"]),rC=class Sa{constructor(s={}){for(let l of new Set([...Md,...Object.keys(s)]))this.setProperty(l,s[l])}setProperty(s,l){if(this[s]!==l){if(s in Ui&&(l=l.map(p=>this.createChild(p))),!Md.has(s)){this[s]=l;return}Object.defineProperty(this,s,{value:l,enumerable:!1,configurable:!0})}}map(s){let l;for(let p in Ui){let f=this[p];if(f){let D=aC(f,E=>E.map(s));l!==f&&(l||(l=new Sa({parent:this.parent})),l.setProperty(p,D))}}if(l)for(let p in this)p in Ui||(l[p]=this[p]);return s(l||this)}walk(s){for(let l in Ui){let p=this[l];if(p)for(let f=0;f<p.length;f++)p[f].walk(s)}s(this)}createChild(s){let l=s instanceof Sa?s.clone():new Sa(s);return l.setProperty("parent",this),l}insertChildBefore(s,l){this.children.splice(this.children.indexOf(s),0,this.createChild(l))}removeChild(s){this.children.splice(this.children.indexOf(s),1)}replaceChild(s,l){this.children[this.children.indexOf(s)]=this.createChild(l)}clone(){return new Sa(this)}get firstChild(){var s;return(s=this.children)==null?void 0:s[0]}get lastChild(){var s;return(s=this.children)==null?void 0:s[this.children.length-1]}get prev(){var s,l;return(l=(s=this.parent)==null?void 0:s.children)==null?void 0:l[this.parent.children.indexOf(this)-1]}get next(){var s,l;return(l=(s=this.parent)==null?void 0:s.children)==null?void 0:l[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(s=>[s.fullName,s.value]))}};function aC(a,s){let l=a.map(s);return l.some((p,f)=>p!==a[f])?l:a}var iC=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:oC},{regex:/^\[if([^\]]*)\]><!$/u,parse:lC},{regex:/^<!\s*\[endif\]$/u,parse:uC}];function sC(a,s){if(a.value)for(let{regex:l,parse:p}of iC){let f=a.value.match(l);if(f)return p(a,s,f)}return null}function oC(a,s,l){let[,p,f,D]=l,E=4+p.length,B=a.sourceSpan.start.moveBy(E),q=B.moveBy(D.length),[Y,W]=(()=>{try{return[!0,s(D,B).children]}catch{return[!1,[{type:"text",value:D,sourceSpan:new se(B,q)}]]}})();return{type:"ieConditionalComment",complete:Y,children:W,condition:C(!1,f.trim(),/\s+/gu," "),sourceSpan:a.sourceSpan,startSourceSpan:new se(a.sourceSpan.start,B),endSourceSpan:new se(q,a.sourceSpan.end)}}function lC(a,s,l){let[,p]=l;return{type:"ieConditionalStartComment",condition:C(!1,p.trim(),/\s+/gu," "),sourceSpan:a.sourceSpan}}function uC(a){return{type:"ieConditionalEndComment",sourceSpan:a.sourceSpan}}var Zo=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),cC=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function pC(a){if(a.type==="block"){if(a.name=C(!1,a.name.toLowerCase(),/\s+/gu," ").trim(),a.type="angularControlFlowBlock",!Oo(a.parameters)){delete a.parameters;return}for(let s of a.parameters)s.type="angularControlFlowBlockParameter";a.parameters={type:"angularControlFlowBlockParameters",children:a.parameters,sourceSpan:new se(a.parameters[0].sourceSpan.start,ln(!1,a.parameters,-1).sourceSpan.end)}}}function dC(a){a.type==="letDeclaration"&&(a.type="angularLetDeclaration",a.id=a.name,a.init={type:"angularLetDeclarationInitializer",sourceSpan:new se(a.valueSpan.start,a.valueSpan.end),value:a.value},delete a.name,delete a.value)}function hC(a){(a.type==="plural"||a.type==="select")&&(a.clause=a.type,a.type="angularIcuExpression"),a.type==="expansionCase"&&(a.type="angularIcuCase")}function Rd(a,s,l){let{name:p,canSelfClose:f=!0,normalizeTagName:D=!1,normalizeAttributeName:E=!1,allowHtmComponentClosingTags:B=!1,isTagNameCaseSensitive:q=!1,shouldParseAsRawText:Y}=s,{rootNodes:W,errors:we}=Id(a,{canSelfClose:f,allowHtmComponentClosingTags:B,isTagNameCaseSensitive:q,getTagContentType:Y?(...z)=>Y(...z)?Lt.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:p==="angular"?!0:void 0,tokenizeAngularLetDeclaration:p==="angular"?!0:void 0});if(p==="vue"){if(W.some(qe=>qe.type==="docType"&&qe.value==="html"||qe.type==="element"&&qe.name.toLowerCase()==="html"))return Rd(a,Ud,l);let z,de=()=>z??(z=Id(a,{canSelfClose:f,allowHtmComponentClosingTags:B,isTagNameCaseSensitive:q})),Ve=qe=>de().rootNodes.find(({startSourceSpan:ct})=>ct&&ct.start.offset===qe.startSourceSpan.start.offset)??qe;for(let[qe,ct]of W.entries()){let{endSourceSpan:Ar,startSourceSpan:bC}=ct;if(Ar===null)we=de().errors,W[qe]=Ve(ct);else if(fC(ct,l)){let Wd=de().errors.find(Vd=>Vd.span.start.offset>bC.start.offset&&Vd.span.start.offset<Ar.end.offset);Wd&&qd(Wd),W[qe]=Ve(ct)}}}we.length>0&&qd(we[0]);let ge=z=>{let de=z.name.startsWith(":")?z.name.slice(1).split(":")[0]:null,Ve=z.nameSpan.toString(),qe=de!==null&&Ve.startsWith(`${de}:`),ct=qe?Ve.slice(de.length+1):Ve;z.name=ct,z.namespace=de,z.hasExplicitNamespace=qe},pe=z=>{switch(z.type){case"element":ge(z);for(let de of z.attrs)ge(de),de.valueSpan?(de.value=de.valueSpan.toString(),/["']/u.test(de.value[0])&&(de.value=de.value.slice(1,-1))):de.value=null;break;case"comment":z.value=z.sourceSpan.toString().slice(4,-3);break;case"text":z.value=z.sourceSpan.toString();break}},Ae=(z,de)=>{let Ve=z.toLowerCase();return de(Ve)?Ve:z},We=z=>{if(z.type==="element"&&(D&&(!z.namespace||z.namespace===z.tagDefinition.implicitNamespacePrefix||ve(z))&&(z.name=Ae(z.name,de=>cC.has(de))),E))for(let de of z.attrs)de.namespace||(de.name=Ae(de.name,Ve=>Zo.has(z.name)&&(Zo.get("*").has(Ve)||Zo.get(z.name).has(Ve))))},nt=z=>{z.sourceSpan&&z.endSourceSpan&&(z.sourceSpan=new se(z.sourceSpan.start,z.endSourceSpan.end))},st=z=>{if(z.type==="element"){let de=Yo(q?z.name:z.name.toLowerCase());!z.namespace||z.namespace===de.implicitNamespacePrefix||ve(z)?z.tagDefinition=de:z.tagDefinition=Yo("")}};return Fd(new class extends $w{visitExpansionCase(z,de){p==="angular"&&this.visitChildren(de,Ve=>{Ve(z.expression)})}visit(z){pe(z),st(z),We(z),nt(z)}},W),W}function fC(a,s){var l;if(a.type!=="element"||a.name!=="template")return!1;let p=(l=a.attrs.find(f=>f.name==="lang"))==null?void 0:l.value;return!p||Cr(s,{language:p})==="html"}function qd(a){let{msg:s,span:{start:l,end:p}}=a;throw Zw(s,{loc:{start:{line:l.line+1,column:l.col+1},end:{line:p.line+1,column:p.col+1}},cause:a})}function Hd(a,s,l={},p=!0){let{frontMatter:f,content:D}=p?nC(a):{frontMatter:null,content:a},E=new cd(a,l.filepath),B=new Go(E,0,0,0),q=B.moveBy(a.length),Y={type:"root",sourceSpan:new se(B,q),children:Rd(D,s,l)};if(f){let ge=new Go(E,0,0,0),pe=ge.moveBy(f.raw.length);f.sourceSpan=new se(ge,pe),Y.children.unshift(f)}let W=new rC(Y),we=(ge,pe)=>{let{offset:Ae}=pe,We=C(!1,a.slice(0,Ae),/[^\n\r]/gu," "),nt=Hd(We+ge,s,l,!1);nt.sourceSpan=new se(pe,ln(!1,nt.children,-1).sourceSpan.end);let st=nt.children[0];return st.length===Ae?nt.children.shift():(st.sourceSpan=new se(st.sourceSpan.start.moveBy(Ae),st.sourceSpan.end),st.value=st.value.slice(Ae)),nt};return W.walk(ge=>{if(ge.type==="comment"){let pe=sC(ge,we);pe&&ge.parent.replaceChild(ge,pe)}pC(ge),dC(ge),hC(ge)}),W}function Wi(a){return{parse:(s,l)=>Hd(s,a,l),hasPragma:L1,astFormat:"html",locStart:Fi,locEnd:Ai}}var Ud={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},mC=Wi(Ud),gC=Wi({name:"angular"}),vC=Wi({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(a,s,l,p){return a.toLowerCase()!=="html"&&!l&&(a!=="template"||p.some(({name:f,value:D})=>f==="lang"&&D!=="html"&&D!==""&&D!==void 0))}}),yC=Wi({name:"lwc",canSelfClose:!1}),DC={html:cw};return h(k)})})(Mc);var Rc=Mc.exports;const hD=Zd({__proto__:null,default:Ea(Rc)},[Rc]);function fD(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function mD(e,t){if(e==null)return{};var n,r,i=fD(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Vs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gD(e){if(Array.isArray(e))return Vs(e)}function vD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yD(e,t){if(e){if(typeof e=="string")return Vs(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vs(e,t):void 0}}function DD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
642
+ ...`,l)),f===-1)return;let E=f+1+xa,B=a.charAt(E+1);if(!/\s?/u.test(B))return;let q=a.slice(0,E);return{type:"front-matter",language:D,explicitLanguage:p,value:a.slice(l+1,f),startDelimiter:s,endDelimiter:q.slice(-xa),raw:q}}function tC(a){let s=eC(a);if(!s)return{content:a};let{raw:l}=s;return{frontMatter:s,content:C(!1,l,/[^\n]/gu," ")+a.slice(l.length)}}var nC=tC,Ui={attrs:!0,children:!0,cases:!0,expression:!0},Md=new Set(["parent"]),rC=class Sa{constructor(s={}){for(let l of new Set([...Md,...Object.keys(s)]))this.setProperty(l,s[l])}setProperty(s,l){if(this[s]!==l){if(s in Ui&&(l=l.map(p=>this.createChild(p))),!Md.has(s)){this[s]=l;return}Object.defineProperty(this,s,{value:l,enumerable:!1,configurable:!0})}}map(s){let l;for(let p in Ui){let f=this[p];if(f){let D=aC(f,E=>E.map(s));l!==f&&(l||(l=new Sa({parent:this.parent})),l.setProperty(p,D))}}if(l)for(let p in this)p in Ui||(l[p]=this[p]);return s(l||this)}walk(s){for(let l in Ui){let p=this[l];if(p)for(let f=0;f<p.length;f++)p[f].walk(s)}s(this)}createChild(s){let l=s instanceof Sa?s.clone():new Sa(s);return l.setProperty("parent",this),l}insertChildBefore(s,l){this.children.splice(this.children.indexOf(s),0,this.createChild(l))}removeChild(s){this.children.splice(this.children.indexOf(s),1)}replaceChild(s,l){this.children[this.children.indexOf(s)]=this.createChild(l)}clone(){return new Sa(this)}get firstChild(){var s;return(s=this.children)==null?void 0:s[0]}get lastChild(){var s;return(s=this.children)==null?void 0:s[this.children.length-1]}get prev(){var s,l;return(l=(s=this.parent)==null?void 0:s.children)==null?void 0:l[this.parent.children.indexOf(this)-1]}get next(){var s,l;return(l=(s=this.parent)==null?void 0:s.children)==null?void 0:l[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(s=>[s.fullName,s.value]))}};function aC(a,s){let l=a.map(s);return l.some((p,f)=>p!==a[f])?l:a}var iC=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:oC},{regex:/^\[if([^\]]*)\]><!$/u,parse:lC},{regex:/^<!\s*\[endif\]$/u,parse:uC}];function sC(a,s){if(a.value)for(let{regex:l,parse:p}of iC){let f=a.value.match(l);if(f)return p(a,s,f)}return null}function oC(a,s,l){let[,p,f,D]=l,E=4+p.length,B=a.sourceSpan.start.moveBy(E),q=B.moveBy(D.length),[Y,W]=(()=>{try{return[!0,s(D,B).children]}catch{return[!1,[{type:"text",value:D,sourceSpan:new se(B,q)}]]}})();return{type:"ieConditionalComment",complete:Y,children:W,condition:C(!1,f.trim(),/\s+/gu," "),sourceSpan:a.sourceSpan,startSourceSpan:new se(a.sourceSpan.start,B),endSourceSpan:new se(q,a.sourceSpan.end)}}function lC(a,s,l){let[,p]=l;return{type:"ieConditionalStartComment",condition:C(!1,p.trim(),/\s+/gu," "),sourceSpan:a.sourceSpan}}function uC(a){return{type:"ieConditionalEndComment",sourceSpan:a.sourceSpan}}var Zo=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootclonable","shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),cC=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function pC(a){if(a.type==="block"){if(a.name=C(!1,a.name.toLowerCase(),/\s+/gu," ").trim(),a.type="angularControlFlowBlock",!Oo(a.parameters)){delete a.parameters;return}for(let s of a.parameters)s.type="angularControlFlowBlockParameter";a.parameters={type:"angularControlFlowBlockParameters",children:a.parameters,sourceSpan:new se(a.parameters[0].sourceSpan.start,ln(!1,a.parameters,-1).sourceSpan.end)}}}function dC(a){a.type==="letDeclaration"&&(a.type="angularLetDeclaration",a.id=a.name,a.init={type:"angularLetDeclarationInitializer",sourceSpan:new se(a.valueSpan.start,a.valueSpan.end),value:a.value},delete a.name,delete a.value)}function hC(a){(a.type==="plural"||a.type==="select")&&(a.clause=a.type,a.type="angularIcuExpression"),a.type==="expansionCase"&&(a.type="angularIcuCase")}function Rd(a,s,l){let{name:p,canSelfClose:f=!0,normalizeTagName:D=!1,normalizeAttributeName:E=!1,allowHtmComponentClosingTags:B=!1,isTagNameCaseSensitive:q=!1,shouldParseAsRawText:Y}=s,{rootNodes:W,errors:we}=Id(a,{canSelfClose:f,allowHtmComponentClosingTags:B,isTagNameCaseSensitive:q,getTagContentType:Y?(...z)=>Y(...z)?Lt.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:p==="angular"?!0:void 0,tokenizeAngularLetDeclaration:p==="angular"?!0:void 0});if(p==="vue"){if(W.some(qe=>qe.type==="docType"&&qe.value==="html"||qe.type==="element"&&qe.name.toLowerCase()==="html"))return Rd(a,Ud,l);let z,de=()=>z??(z=Id(a,{canSelfClose:f,allowHtmComponentClosingTags:B,isTagNameCaseSensitive:q})),ze=qe=>de().rootNodes.find(({startSourceSpan:ct})=>ct&&ct.start.offset===qe.startSourceSpan.start.offset)??qe;for(let[qe,ct]of W.entries()){let{endSourceSpan:Ar,startSourceSpan:bC}=ct;if(Ar===null)we=de().errors,W[qe]=ze(ct);else if(fC(ct,l)){let Wd=de().errors.find(Vd=>Vd.span.start.offset>bC.start.offset&&Vd.span.start.offset<Ar.end.offset);Wd&&qd(Wd),W[qe]=ze(ct)}}}we.length>0&&qd(we[0]);let ge=z=>{let de=z.name.startsWith(":")?z.name.slice(1).split(":")[0]:null,ze=z.nameSpan.toString(),qe=de!==null&&ze.startsWith(`${de}:`),ct=qe?ze.slice(de.length+1):ze;z.name=ct,z.namespace=de,z.hasExplicitNamespace=qe},pe=z=>{switch(z.type){case"element":ge(z);for(let de of z.attrs)ge(de),de.valueSpan?(de.value=de.valueSpan.toString(),/["']/u.test(de.value[0])&&(de.value=de.value.slice(1,-1))):de.value=null;break;case"comment":z.value=z.sourceSpan.toString().slice(4,-3);break;case"text":z.value=z.sourceSpan.toString();break}},Ae=(z,de)=>{let ze=z.toLowerCase();return de(ze)?ze:z},Ve=z=>{if(z.type==="element"&&(D&&(!z.namespace||z.namespace===z.tagDefinition.implicitNamespacePrefix||ve(z))&&(z.name=Ae(z.name,de=>cC.has(de))),E))for(let de of z.attrs)de.namespace||(de.name=Ae(de.name,ze=>Zo.has(z.name)&&(Zo.get("*").has(ze)||Zo.get(z.name).has(ze))))},nt=z=>{z.sourceSpan&&z.endSourceSpan&&(z.sourceSpan=new se(z.sourceSpan.start,z.endSourceSpan.end))},st=z=>{if(z.type==="element"){let de=Yo(q?z.name:z.name.toLowerCase());!z.namespace||z.namespace===de.implicitNamespacePrefix||ve(z)?z.tagDefinition=de:z.tagDefinition=Yo("")}};return Fd(new class extends $w{visitExpansionCase(z,de){p==="angular"&&this.visitChildren(de,ze=>{ze(z.expression)})}visit(z){pe(z),st(z),Ve(z),nt(z)}},W),W}function fC(a,s){var l;if(a.type!=="element"||a.name!=="template")return!1;let p=(l=a.attrs.find(f=>f.name==="lang"))==null?void 0:l.value;return!p||Cr(s,{language:p})==="html"}function qd(a){let{msg:s,span:{start:l,end:p}}=a;throw Zw(s,{loc:{start:{line:l.line+1,column:l.col+1},end:{line:p.line+1,column:p.col+1}},cause:a})}function Hd(a,s,l={},p=!0){let{frontMatter:f,content:D}=p?nC(a):{frontMatter:null,content:a},E=new cd(a,l.filepath),B=new Go(E,0,0,0),q=B.moveBy(a.length),Y={type:"root",sourceSpan:new se(B,q),children:Rd(D,s,l)};if(f){let ge=new Go(E,0,0,0),pe=ge.moveBy(f.raw.length);f.sourceSpan=new se(ge,pe),Y.children.unshift(f)}let W=new rC(Y),we=(ge,pe)=>{let{offset:Ae}=pe,Ve=C(!1,a.slice(0,Ae),/[^\n\r]/gu," "),nt=Hd(Ve+ge,s,l,!1);nt.sourceSpan=new se(pe,ln(!1,nt.children,-1).sourceSpan.end);let st=nt.children[0];return st.length===Ae?nt.children.shift():(st.sourceSpan=new se(st.sourceSpan.start.moveBy(Ae),st.sourceSpan.end),st.value=st.value.slice(Ae)),nt};return W.walk(ge=>{if(ge.type==="comment"){let pe=sC(ge,we);pe&&ge.parent.replaceChild(ge,pe)}pC(ge),dC(ge),hC(ge)}),W}function Wi(a){return{parse:(s,l)=>Hd(s,a,l),hasPragma:L1,astFormat:"html",locStart:Fi,locEnd:Ai}}var Ud={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},mC=Wi(Ud),gC=Wi({name:"angular"}),vC=Wi({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(a,s,l,p){return a.toLowerCase()!=="html"&&!l&&(a!=="template"||p.some(({name:f,value:D})=>f==="lang"&&D!=="html"&&D!==""&&D!==void 0))}}),yC=Wi({name:"lwc",canSelfClose:!1}),DC={html:cw};return h(k)})})(Mc);var Rc=Mc.exports;const hD=Zd({__proto__:null,default:Ea(Rc)},[Rc]);function fD(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function mD(e,t){if(e==null)return{};var n,r,i=fD(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Vs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gD(e){if(Array.isArray(e))return Vs(e)}function vD(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yD(e,t){if(e){if(typeof e=="string")return Vs(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vs(e,t):void 0}}function DD(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
643
643
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zs(e){return gD(e)||vD(e)||yD(e)||DD()}function ta(e){"@babel/helpers - typeof";return ta=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ta(e)}function bD(e,t){if(ta(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ta(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kD(e){var t=bD(e,"string");return ta(t)=="symbol"?t:t+""}function qc(e,t,n){return(t=kD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gs(){return Gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gs.apply(null,arguments)}function Hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function vr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hc(Object(n),!0).forEach(function(r){qc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function wD(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var Ys={};function CD(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Ys[t]||(Ys[t]=wD(e)),Ys[t]}function _D(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(o){return o!=="token"}),i=CD(r);return i.reduce(function(o,u){return vr(vr({},o),n[u])},t)}function Uc(e){return e.join(" ")}function xD(e,t){var n=0;return function(r){return n+=1,r.map(function(i,o){return Wc({node:i,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function Wc(e){var t=e.node,n=e.stylesheet,r=e.style,i=r===void 0?{}:r,o=e.useInlineStyles,u=e.key,c=t.properties,d=t.type,h=t.tagName,m=t.value;if(d==="text")return m;if(h){var v=xD(n,o),y;if(!o)y=vr(vr({},c),{},{className:Uc(c.className)});else{var b=Object.keys(n).reduce(function(T,F){return F.split(".").forEach(function(S){T.includes(S)||T.push(S)}),T},[]),k=c.className&&c.className.includes("token")?["token"]:[],x=c.className&&k.concat(c.className.filter(function(T){return!b.includes(T)}));y=vr(vr({},c),{},{className:Uc(x)||void 0,style:_D(c.className,Object.assign({},c.style,i),n)})}var C=v(t.children);return M.createElement(h,Gs({key:u},y),C)}}const SD=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var ED=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function Vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Dn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vc(Object(n),!0).forEach(function(r){qc(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var FD=/\n/g;function AD(e){return e.match(FD)}function $D(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map(function(i,o){var u=o+n;return M.createElement("span",{key:"line-".concat(o),className:"react-syntax-highlighter-line-number",style:typeof r=="function"?r(u):r},"".concat(u,`
644
644
  `))})}function TD(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,i=r===void 0?{float:"left",paddingRight:"10px"}:r,o=e.numberStyle,u=o===void 0?{}:o,c=e.startingLineNumber;return M.createElement("code",{style:Object.assign({},n,i)},$D({lines:t.replace(/\n$/,"").split(`
645
645
  `),style:u,startingLineNumber:c}))}function BD(e){return"".concat(e.toString().length,".25em")}function zc(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Gc(e,t,n){var r={display:"inline-block",minWidth:BD(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},i=typeof e=="function"?e(t):e,o=Dn(Dn({},r),i);return o}function li(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,i=e.largestLineNumber,o=e.showInlineLineNumbers,u=e.lineProps,c=u===void 0?{}:u,d=e.className,h=d===void 0?[]:d,m=e.showLineNumbers,v=e.wrapLongLines,y=e.wrapLines,b=y===void 0?!1:y,k=b?Dn({},typeof c=="function"?c(n):c):{};if(k.className=k.className?[].concat(zs(k.className.trim().split(/\s+/)),zs(h)):h,n&&o){var x=Gc(r,n,i);t.unshift(zc(n,x))}return v&m&&(k.style=Dn({display:"flex"},k.style)),{type:"element",tagName:"span",properties:k,children:t}}function Yc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r<e.length;r++){var i=e[r];if(i.type==="text")n.push(li({children:[i],className:zs(new Set(t))}));else if(i.children){var o=t.concat(i.properties.className);Yc(i.children,o).forEach(function(u){return n.push(u)})}}return n}function ND(e,t,n,r,i,o,u,c,d){var h,m=Yc(e.value),v=[],y=-1,b=0;function k(_,$){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return li({children:_,lineNumber:$,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:i,lineProps:n,className:P,showLineNumbers:r,wrapLongLines:d,wrapLines:t})}function x(_,$){if(r&&$&&i){var P=Gc(c,$,u);_.unshift(zc($,P))}return _}function C(_,$){var P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||P.length>0?k(_,$,P):x(_,$)}for(var T=function(){var $=m[b],P=$.children[0].value,I=AD(P);if(I){var j=P.split(`