ablok-components 0.1.83 → 0.1.85
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.
|
@@ -17901,7 +17901,7 @@ const VD = { class: "input input-dropdown" }, GD = { class: "dropdown" }, WD = {
|
|
|
17901
17901
|
]),
|
|
17902
17902
|
N("label", {
|
|
17903
17903
|
class: "form-check-label flex-grow-1",
|
|
17904
|
-
onclick: "event.stopPropagation
|
|
17904
|
+
onclick: "event.stopPropagation",
|
|
17905
17905
|
for: `${t.name}-${d.value}-${h}`
|
|
17906
17906
|
}, Fe(d.text), 9, jD)
|
|
17907
17907
|
])
|
|
@@ -27820,7 +27820,7 @@ const QG = /* @__PURE__ */ JA({
|
|
|
27820
27820
|
target: "_blank",
|
|
27821
27821
|
rel: "noopener"
|
|
27822
27822
|
}, [
|
|
27823
|
-
VA(c, { symbol: "x" }),
|
|
27823
|
+
VA(c, { symbol: "x-logo" }),
|
|
27824
27824
|
N("span", TV, Fe(a.$t("sharing.x")), 1)
|
|
27825
27825
|
], 8, SV)
|
|
27826
27826
|
])) : xe("", !0),
|
|
@@ -134,7 +134,7 @@ ${c}`:a)}else throw s},onCacheKey:s=>e1(A,e,s)}}function BS(t,A,e,n){const{modif
|
|
|
134
134
|
* vue-i18n v9.2.2
|
|
135
135
|
* (c) 2022 kazuya kawaguchi
|
|
136
136
|
* Released under the MIT License.
|
|
137
|
-
*/const mS="9.2.2";function wS(){let t=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(t=!0,Hs().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(t=!0,Hs().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hs().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&t&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let LB=bt.__EXTEND_POINT__;const Di=()=>++LB,On={FALLBACK_TO_ROOT:LB,NOT_SUPPORTED_PRESERVE:Di(),NOT_SUPPORTED_FORMATTER:Di(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Di(),NOT_SUPPORTED_GET_CHOICE_INDEX:Di(),COMPONENT_NAME_LEGACY_COMPATIBLE:Di(),NOT_FOUND_PARENT_SCOPE:Di()},CS={[On.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[On.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[On.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[On.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[On.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[On.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[On.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function _B(t,...A){return oa(CS[t],...A)}let OB=hA.__EXTEND_POINT__;const pt=()=>++OB,ee={UNEXPECTED_RETURN_TYPE:OB,INVALID_ARGUMENT:pt(),MUST_BE_CALL_SETUP_TOP:pt(),NOT_INSLALLED:pt(),NOT_AVAILABLE_IN_LEGACY_MODE:pt(),REQUIRED_VALUE:pt(),INVALID_VALUE:pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:pt(),NOT_INSLALLED_WITH_PROVIDE:pt(),UNEXPECTED_ERROR:pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:pt(),BRIDGE_SUPPORT_VUE_2_ONLY:pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:pt(),__EXTEND_POINT__:pt()};function Mn(t,...A){return la(t,null,process.env.NODE_ENV!=="production"?{messages:yS,args:A}:void 0)}const yS={[ee.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[ee.INVALID_ARGUMENT]:"Invalid argument",[ee.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[ee.NOT_INSLALLED]:"Need to install with `app.use` function",[ee.UNEXPECTED_ERROR]:"Unexpected error",[ee.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[ee.REQUIRED_VALUE]:"Required in value: {0}",[ee.INVALID_VALUE]:"Invalid value",[ee.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[ee.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[ee.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[ee.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Hn("__transrateVNode"),Eu=Hn("__datetimeParts"),Fu=Hn("__numberParts"),Uu=Hn("__enableEmitter"),bu=Hn("__disableEmitter"),QS=Hn("__setPluralRules");Hn("__intlifyMeta");const MB=Hn("__injectWithOption");function vu(t){if(!JA(t))return t;for(const A in t)if(du(t,A))if(!A.includes("."))JA(t[A])&&vu(t[A]);else{const e=A.split("."),n=e.length-1;let r=t;for(let i=0;i<n;i++)e[i]in r||(r[e[i]]={}),r=r[e[i]];r[e[n]]=t[A],delete t[A],JA(r[e[n]])&&vu(r[e[n]])}return t}function Iu(t,A){const{messages:e,__i18n:n,messageResolver:r,flatJson:i}=A,s=TA(e)?e:le(n)?{}:{[t]:{}};if(le(n)&&n.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:u}=a;c?(s[c]=s[c]||{},Os(u,s[c])):Os(u,s)}else nA(a)&&Os(JSON.parse(a),s)}),r==null&&i)for(const a in s)du(s,a)&&vu(s[a]);return s}const ha=t=>!JA(t)||le(t);function Os(t,A){if(ha(t)||ha(A))throw Mn(ee.INVALID_VALUE);for(const e in t)du(t,e)&&(ha(t[e])||ha(A[e])?A[e]=t[e]:Os(t[e],A[e]))}function DB(t){return t.type}function ES(t,A,e){let n=JA(A.messages)?A.messages:{};"__i18nGlobal"in e&&(n=Iu(t.locale.value,{messages:n,__i18n:e.__i18nGlobal}));const r=Object.keys(n);r.length&&r.forEach(i=>{t.mergeLocaleMessage(i,n[i])});{if(JA(A.datetimeFormats)){const i=Object.keys(A.datetimeFormats);i.length&&i.forEach(s=>{t.mergeDateTimeFormat(s,A.datetimeFormats[s])})}if(JA(A.numberFormats)){const i=Object.keys(A.numberFormats);i.length&&i.forEach(s=>{t.mergeNumberFormat(s,A.numberFormats[s])})}}}function kB(t){return h.createVNode(h.Text,null,t,0)}const NB="__INTLIFY_META__";let RB=0;function KB(t){return(A,e,n,r)=>t(e,n,h.getCurrentInstance()||void 0,r)}const FS=()=>{const t=h.getCurrentInstance();let A=null;return t&&(A=DB(t)[NB])?{[NB]:A}:null};function US(t={},A){const{__root:e}=t,n=e===void 0;let r=qA(t.inheritLocale)?t.inheritLocale:!0;const i=h.ref(e&&r?e.locale.value:nA(t.locale)?t.locale:ua),s=h.ref(e&&r?e.fallbackLocale.value:nA(t.fallbackLocale)||le(t.fallbackLocale)||TA(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i.value),a=h.ref(Iu(i.value,t)),c=h.ref(TA(t.datetimeFormats)?t.datetimeFormats:{[i.value]:{}}),u=h.ref(TA(t.numberFormats)?t.numberFormats:{[i.value]:{}});let d=e?e.missingWarn:qA(t.missingWarn)||Li(t.missingWarn)?t.missingWarn:!0,p=e?e.fallbackWarn:qA(t.fallbackWarn)||Li(t.fallbackWarn)?t.fallbackWarn:!0,B=e?e.fallbackRoot:qA(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,C=Qe(t.missing)?t.missing:null,E=Qe(t.missing)?KB(t.missing):null,S=Qe(t.postTranslation)?t.postTranslation:null,U=e?e.warnHtmlMessage:qA(t.warnHtmlMessage)?t.warnHtmlMessage:!0,v=!!t.escapeParameter;const M=e?e.modifiers:TA(t.modifiers)?t.modifiers:{};let F=t.pluralRules||e&&e.pluralRules,T;T=(()=>{n&&gB(null);const V={version:mS,locale:i.value,fallbackLocale:s.value,messages:a.value,modifiers:M,pluralRules:F,missing:E===null?void 0:E,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:U,escapeParameter:v,messageResolver:t.messageResolver,__meta:{framework:"vue"}};V.datetimeFormats=c.value,V.numberFormats=u.value,V.__datetimeFormatters=TA(T)?T.__datetimeFormatters:void 0,V.__numberFormatters=TA(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(V.__v_emitter=TA(T)?T.__v_emitter:void 0);const Y=oS(V);return n&&gB(Y),Y})(),_s(T,i.value,s.value);function N(){return[i.value,s.value,a.value,c.value,u.value]}const W=h.computed({get:()=>i.value,set:V=>{i.value=V,T.locale=i.value}}),$=h.computed({get:()=>s.value,set:V=>{s.value=V,T.fallbackLocale=s.value,_s(T,i.value,V)}}),eA=h.computed(()=>a.value),gA=h.computed(()=>c.value),wA=h.computed(()=>u.value);function aA(){return Qe(S)?S:null}function HA(V){S=V,T.postTranslation=V}function WA(){return C}function bA(V){V!==null&&(E=KB(V)),C=V,T.missing=E}function vA(V,Y){return V!=="translate"||!Y.resolvedMessage}const mA=(V,Y,oe,Fe,an,St)=>{N();let Gt;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{hB(FS()),n||(T.fallbackContext=e?sS():void 0),Gt=V(T)}finally{hB(null),n||(T.fallbackContext=void 0)}else Gt=V(T);if(Je(Gt)&&Gt===ca){const[Tt,ni]=Y();if(process.env.NODE_ENV!=="production"&&e&&nA(Tt)&&vA(oe,ni)&&(B&&(da(p,Tt)||mB(d,Tt))&&xs(_B(On.FALLBACK_TO_ROOT,{key:Tt,type:oe})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ur}=T;Ur&&B&&Ur.emit("fallback",{type:oe,key:Tt,to:"global",groupId:`${oe}:${Tt}`})}return e&&B?Fe(e):an(Tt)}else{if(St(Gt))return Gt;throw Mn(ee.UNEXPECTED_RETURN_TYPE)}};function re(...V){return mA(Y=>Reflect.apply(QB,null,[Y,...V]),()=>wu(...V),"translate",Y=>Reflect.apply(Y.t,Y,[...V]),Y=>Y,Y=>nA(Y))}function ZA(...V){const[Y,oe,Fe]=V;if(Fe&&!JA(Fe))throw Mn(ee.INVALID_ARGUMENT);return re(Y,oe,Oe({resolvedMessage:!0},Fe||{}))}function $A(...V){return mA(Y=>Reflect.apply(vB,null,[Y,...V]),()=>Cu(...V),"datetime format",Y=>Reflect.apply(Y.d,Y,[...V]),()=>fa,Y=>nA(Y))}function Be(...V){return mA(Y=>Reflect.apply(TB,null,[Y,...V]),()=>yu(...V),"number format",Y=>Reflect.apply(Y.n,Y,[...V]),()=>fa,Y=>nA(Y))}function me(V){return V.map(Y=>nA(Y)||Je(Y)||qA(Y)?kB(String(Y)):Y)}const jA={normalize:me,interpolate:V=>V,type:"vnode"};function fe(...V){return mA(Y=>{let oe;const Fe=Y;try{Fe.processor=jA,oe=Reflect.apply(QB,null,[Fe,...V])}finally{Fe.processor=null}return oe},()=>wu(...V),"translate",Y=>Y[Qu](...V),Y=>[kB(Y)],Y=>le(Y))}function it(...V){return mA(Y=>Reflect.apply(TB,null,[Y,...V]),()=>yu(...V),"number format",Y=>Y[Fu](...V),()=>[],Y=>nA(Y)||le(Y))}function st(...V){return mA(Y=>Reflect.apply(vB,null,[Y,...V]),()=>Cu(...V),"datetime format",Y=>Y[Eu](...V),()=>[],Y=>nA(Y)||le(Y))}function ze(V){F=V,T.pluralRules=F}function ke(V,Y){const oe=nA(Y)?Y:i.value,Fe=H(oe);return T.messageResolver(Fe,V)!==null}function ot(V){let Y=null;const oe=oB(T,s.value,i.value);for(let Fe=0;Fe<oe.length;Fe++){const an=a.value[oe[Fe]]||{},St=T.messageResolver(an,V);if(St!=null){Y=St;break}}return Y}function It(V){const Y=ot(V);return Y??(e?e.tm(V)||{}:{})}function H(V){return a.value[V]||{}}function b(V,Y){a.value[V]=Y,T.messages=a.value}function k(V,Y){a.value[V]=a.value[V]||{},Os(Y,a.value[V]),T.messages=a.value}function q(V){return c.value[V]||{}}function oA(V,Y){c.value[V]=Y,T.datetimeFormats=c.value,SB(T,V,Y)}function IA(V,Y){c.value[V]=Oe(c.value[V]||{},Y),T.datetimeFormats=c.value,SB(T,V,Y)}function at(V){return u.value[V]||{}}function Ne(V,Y){u.value[V]=Y,T.numberFormats=u.value,HB(T,V,Y)}function Re(V,Y){u.value[V]=Oe(u.value[V]||{},Y),T.numberFormats=u.value,HB(T,V,Y)}RB++,e&&dr&&(h.watch(e.locale,V=>{r&&(i.value=V,T.locale=V,_s(T,i.value,s.value))}),h.watch(e.fallbackLocale,V=>{r&&(s.value=V,T.fallbackLocale=V,_s(T,i.value,s.value))}));const KA={id:RB,locale:W,fallbackLocale:$,get inheritLocale(){return r},set inheritLocale(V){r=V,V&&e&&(i.value=e.locale.value,s.value=e.fallbackLocale.value,_s(T,i.value,s.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:eA,get modifiers(){return M},get pluralRules(){return F||{}},get isGlobal(){return n},get missingWarn(){return d},set missingWarn(V){d=V,T.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(V){p=V,T.fallbackWarn=p},get fallbackRoot(){return B},set fallbackRoot(V){B=V},get fallbackFormat(){return m},set fallbackFormat(V){m=V,T.fallbackFormat=m},get warnHtmlMessage(){return U},set warnHtmlMessage(V){U=V,T.warnHtmlMessage=V},get escapeParameter(){return v},set escapeParameter(V){v=V,T.escapeParameter=V},t:re,getLocaleMessage:H,setLocaleMessage:b,mergeLocaleMessage:k,getPostTranslationHandler:aA,setPostTranslationHandler:HA,getMissingHandler:WA,setMissingHandler:bA,[QS]:ze};return KA.datetimeFormats=gA,KA.numberFormats=wA,KA.rt=ZA,KA.te=ke,KA.tm=It,KA.d=$A,KA.n=Be,KA.getDateTimeFormat=q,KA.setDateTimeFormat=oA,KA.mergeDateTimeFormat=IA,KA.getNumberFormat=at,KA.setNumberFormat=Ne,KA.mergeNumberFormat=Re,KA[MB]=t.__injectWithOption,KA[Qu]=fe,KA[Eu]=st,KA[Fu]=it,process.env.NODE_ENV!=="production"&&(KA[Uu]=V=>{T.__v_emitter=V},KA[bu]=()=>{T.__v_emitter=void 0}),KA}const Su={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function bS({slots:t},A){return A.length===1&&A[0]==="default"?(t.default?t.default():[]).reduce((n,r)=>n=[...n,...le(r.children)?r.children:[r]],[]):A.reduce((e,n)=>{const r=t[n];return r&&(e[n]=r()),e},{})}function VB(t){return h.Fragment}Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Je(t)||!isNaN(t)}},Su);function vS(t){return le(t)&&!nA(t[0])}function PB(t,A,e,n){const{slots:r,attrs:i}=A;return()=>{const s={part:!0};let a={};t.locale&&(s.locale=t.locale),nA(t.format)?s.key=t.format:JA(t.format)&&(nA(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((B,m)=>e.includes(m)?Oe({},B,{[m]:t.format[m]}):B,{}));const c=n(t.value,s,a);let u=[s.key];le(c)?u=c.map((B,m)=>{const C=r[B.type],E=C?C({[B.type]:B.value,index:m,parts:c}):[B.value];return vS(E)&&(E[0].key=`${B.type}-${m}`),E}):nA(c)&&(u=[c]);const d=Oe({},i),p=nA(t.tag)||JA(t.tag)?t.tag:VB();return h.h(p,d,u)}}Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Su),Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Su);function GB(t,A){}const IS=Hn("global-vue-i18n");function pa(t={}){const A=h.getCurrentInstance();if(A==null)throw Mn(ee.MUST_BE_CALL_SETUP_TOP);if(!A.isCE&&A.appContext.app!=null&&!A.appContext.app.__VUE_I18N_SYMBOL__)throw Mn(ee.NOT_INSLALLED);const e=SS(A),n=xS(e),r=DB(A),i=TS(t,r);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw Mn(ee.NOT_AVAILABLE_IN_LEGACY_MODE);return _S(A,i,n,t)}if(i==="global")return ES(n,t,r),n;if(i==="parent"){let c=HS(e,A,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&xs(_B(On.NOT_FOUND_PARENT_SCOPE)),c=n),c}const s=e;let a=s.__getInstance(A);if(a==null){const c=Oe({},t);"__i18n"in r&&(c.__i18n=r.__i18n),n&&(c.__root=n),a=US(c),LS(s,A,a),s.__setInstance(A,a)}return a}function SS(t){{const A=h.inject(t.isCE?IS:t.appContext.app.__VUE_I18N_SYMBOL__);if(!A)throw Mn(t.isCE?ee.NOT_INSLALLED_WITH_PROVIDE:ee.UNEXPECTED_ERROR);return A}}function TS(t,A){return aa(t)?"__i18n"in A?"local":"global":t.useScope?t.useScope:"local"}function xS(t){return t.mode==="composition"?t.global:t.global.__composer}function HS(t,A,e=!1){let n=null;const r=A.root;let i=A.parent;for(;i!=null;){const s=t;if(t.mode==="composition")n=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(i);a!=null&&(n=a.__composer,e&&n&&!n[MB]&&(n=null))}if(n!=null||r===i)break;i=i.parent}return n}function LS(t,A,e){let n=null;h.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el){A.vnode.el.__VUE_I18N__=e,n=o1();const r=e;r[Uu]&&r[Uu](n),n.on("*",GB)}},A),h.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el&&A.vnode.el.__VUE_I18N__){n&&n.off("*",GB);const r=e;r[bu]&&r[bu](),delete A.vnode.el.__VUE_I18N__}t.__deleteInstance(A)},A)}function _S(t,A,e,n={}){const r=A==="local",i=h.shallowRef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Mn(ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=qA(n.inheritLocale)?n.inheritLocale:!0,a=h.ref(r&&s?e.locale.value:nA(n.locale)?n.locale:ua),c=h.ref(r&&s?e.fallbackLocale.value:nA(n.fallbackLocale)||le(n.fallbackLocale)||TA(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),u=h.ref(Iu(a.value,n)),d=h.ref(TA(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),p=h.ref(TA(n.numberFormats)?n.numberFormats:{[a.value]:{}}),B=r?e.missingWarn:qA(n.missingWarn)||Li(n.missingWarn)?n.missingWarn:!0,m=r?e.fallbackWarn:qA(n.fallbackWarn)||Li(n.fallbackWarn)?n.fallbackWarn:!0,C=r?e.fallbackRoot:qA(n.fallbackRoot)?n.fallbackRoot:!0,E=!!n.fallbackFormat,S=Qe(n.missing)?n.missing:null,U=Qe(n.postTranslation)?n.postTranslation:null,v=r?e.warnHtmlMessage:qA(n.warnHtmlMessage)?n.warnHtmlMessage:!0,M=!!n.escapeParameter,F=r?e.modifiers:TA(n.modifiers)?n.modifiers:{},T=n.pluralRules||r&&e.pluralRules;function L(){return[a.value,c.value,u.value,d.value,p.value]}const N=h.computed({get:()=>i.value?i.value.locale.value:a.value,set:b=>{i.value&&(i.value.locale.value=b),a.value=b}}),W=h.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:b=>{i.value&&(i.value.fallbackLocale.value=b),c.value=b}}),$=h.computed(()=>i.value?i.value.messages.value:u.value),eA=h.computed(()=>d.value),gA=h.computed(()=>p.value);function wA(){return i.value?i.value.getPostTranslationHandler():U}function aA(b){i.value&&i.value.setPostTranslationHandler(b)}function HA(){return i.value?i.value.getMissingHandler():S}function WA(b){i.value&&i.value.setMissingHandler(b)}function bA(b){return L(),b()}function vA(...b){return i.value?bA(()=>Reflect.apply(i.value.t,null,[...b])):bA(()=>"")}function mA(...b){return i.value?Reflect.apply(i.value.rt,null,[...b]):""}function re(...b){return i.value?bA(()=>Reflect.apply(i.value.d,null,[...b])):bA(()=>"")}function ZA(...b){return i.value?bA(()=>Reflect.apply(i.value.n,null,[...b])):bA(()=>"")}function $A(b){return i.value?i.value.tm(b):{}}function Be(b,k){return i.value?i.value.te(b,k):!1}function me(b){return i.value?i.value.getLocaleMessage(b):{}}function Te(b,k){i.value&&(i.value.setLocaleMessage(b,k),u.value[b]=k)}function jA(b,k){i.value&&i.value.mergeLocaleMessage(b,k)}function fe(b){return i.value?i.value.getDateTimeFormat(b):{}}function it(b,k){i.value&&(i.value.setDateTimeFormat(b,k),d.value[b]=k)}function st(b,k){i.value&&i.value.mergeDateTimeFormat(b,k)}function ze(b){return i.value?i.value.getNumberFormat(b):{}}function ke(b,k){i.value&&(i.value.setNumberFormat(b,k),p.value[b]=k)}function ot(b,k){i.value&&i.value.mergeNumberFormat(b,k)}const It={get id(){return i.value?i.value.id:-1},locale:N,fallbackLocale:W,messages:$,datetimeFormats:eA,numberFormats:gA,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(b){i.value&&(i.value.inheritLocale=b)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:F},get pluralRules(){return i.value?i.value.pluralRules:T},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:B},set missingWarn(b){i.value&&(i.value.missingWarn=b)},get fallbackWarn(){return i.value?i.value.fallbackWarn:m},set fallbackWarn(b){i.value&&(i.value.missingWarn=b)},get fallbackRoot(){return i.value?i.value.fallbackRoot:C},set fallbackRoot(b){i.value&&(i.value.fallbackRoot=b)},get fallbackFormat(){return i.value?i.value.fallbackFormat:E},set fallbackFormat(b){i.value&&(i.value.fallbackFormat=b)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:v},set warnHtmlMessage(b){i.value&&(i.value.warnHtmlMessage=b)},get escapeParameter(){return i.value?i.value.escapeParameter:M},set escapeParameter(b){i.value&&(i.value.escapeParameter=b)},t:vA,getPostTranslationHandler:wA,setPostTranslationHandler:aA,getMissingHandler:HA,setMissingHandler:WA,rt:mA,d:re,n:ZA,tm:$A,te:Be,getLocaleMessage:me,setLocaleMessage:Te,mergeLocaleMessage:jA,getDateTimeFormat:fe,setDateTimeFormat:it,mergeDateTimeFormat:st,getNumberFormat:ze,setNumberFormat:ke,mergeNumberFormat:ot};function H(b){b.locale.value=a.value,b.fallbackLocale.value=c.value,Object.keys(u.value).forEach(k=>{b.mergeLocaleMessage(k,u.value[k])}),Object.keys(d.value).forEach(k=>{b.mergeDateTimeFormat(k,d.value[k])}),Object.keys(p.value).forEach(k=>{b.mergeNumberFormat(k,p.value[k])}),b.escapeParameter=M,b.fallbackFormat=E,b.fallbackRoot=C,b.fallbackWarn=m,b.missingWarn=B,b.warnHtmlMessage=v}return h.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Mn(ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const b=i.value=t.proxy.$i18n.__composer;A==="global"?(a.value=b.locale.value,c.value=b.fallbackLocale.value,u.value=b.messages.value,d.value=b.datetimeFormats.value,p.value=b.numberFormats.value):r&&H(b)}),It}if(tS(fS),nS(D1),rS(oB),wS(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Hs();t.__INTLIFY__=!0,$1(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const OS={class:"input input-dropdown"},MS={class:"dropdown"},DS={class:"caption"},kS=["innerHTML"],NS={class:"caption__text"},RS={class:"d-block text-truncate"},KS={class:"dropdown-menu"},VS={class:"form-check"},PS=["value","id","name","label","required","disabled"],GS=["value","id","name","label","required","disabled"],WS=["for"],$S=h.defineComponent({__name:"input-dropdown",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:null},value:{type:String},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},showSelectionCount:{type:Boolean,default:!1},toggleCaption:{type:String},placeholder:{type:String,default:""},icon:{default:"chevron-down",type:String},variant:{type:String,default:""},color:{type:String,default:""},outlined:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,{t:n}=pa(),r=h.computed({get(){return e.multiple&&!e.modelValue?[]:e.modelValue},set(a){A("update:modelValue",a)}}),i=h.computed(()=>e.options.map(a=>(a=typeof a=="string"?{text:a,value:a}:a,{...a,active:e.modelValue&&e.modelValue.includes(a.value)}))),s=h.computed(()=>e.modelValue&&e.modelValue.length?Array.isArray(e.modelValue)&&e.modelValue.length?i.value.reduce((a,c)=>e.modelValue.includes(c.value)?`${a}${a?", ":""}${c.text}`:a,""):i.value.reduce((a,c)=>c.value===e.modelValue?`${a}${c.text}`:a,""):e.placeholder||`${n("common.select")}`);return(a,c)=>{const u=h.resolveComponent("base-button");return h.openBlock(),h.createElementBlock("div",OS,[h.createElementVNode("div",MS,[h.createVNode(u,{"data-bs-toggle":"dropdown",role:"button",type:"button",title:h.unref(s),class:"btn dropdown-toggle",color:t.color,outlined:t.outlined,disabled:t.disabled},{default:h.withCtx(()=>[h.createElementVNode("span",DS,[h.createVNode(h.Transition,{name:"bounce"},{default:h.withCtx(()=>[t.showSelectionCount&&t.modelValue.length?(h.openBlock(),h.createElementBlock("i",{key:0,class:"caption__count",innerHTML:t.modelValue.length},null,8,kS)):h.createCommentVNode("",!0)]),_:1}),h.createElementVNode("span",NS,[h.createElementVNode("span",RS,h.toDisplayString(t.toggleCaption||h.unref(s)),1)])])]),_:1},8,["title","color","outlined","disabled"]),h.createElementVNode("ul",KS,[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(i),(d,p)=>(h.openBlock(),h.createElementBlock("li",{key:`${d.value}-${p}`},[h.createElementVNode("div",{class:h.normalizeClass(["dropdown-item",d.active&&"active"])},[h.createElementVNode("div",VS,[t.multiple?h.withDirectives((h.openBlock(),h.createElementBlock("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=B=>h.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${p}__if`,id:`${t.name}-${d.value}-${p}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,PS)),[[h.vModelCheckbox,h.unref(r)]]):h.withDirectives((h.openBlock(),h.createElementBlock("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=B=>h.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${p}__else`,id:`${t.name}-${d.value}-${p}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,GS)),[[h.vModelRadio,h.unref(r)]]),h.createElementVNode("label",{class:"form-check-label flex-grow-1",onclick:"event.stopPropagation();",for:`${t.name}-${d.value}-${p}`},h.toDisplayString(d.text),9,WS)])],2)]))),128))])])])}}});var Ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ds={},JS={get exports(){return Ds},set exports(t){Ds=t}};/**
|
|
137
|
+
*/const mS="9.2.2";function wS(){let t=!1;typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(t=!0,Hs().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(t=!0,Hs().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hs().__INTLIFY_PROD_DEVTOOLS__=!1),process.env.NODE_ENV!=="production"&&t&&console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.")}let LB=bt.__EXTEND_POINT__;const Di=()=>++LB,On={FALLBACK_TO_ROOT:LB,NOT_SUPPORTED_PRESERVE:Di(),NOT_SUPPORTED_FORMATTER:Di(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Di(),NOT_SUPPORTED_GET_CHOICE_INDEX:Di(),COMPONENT_NAME_LEGACY_COMPATIBLE:Di(),NOT_FOUND_PARENT_SCOPE:Di()},CS={[On.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[On.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[On.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[On.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[On.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[On.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[On.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope."};function _B(t,...A){return oa(CS[t],...A)}let OB=hA.__EXTEND_POINT__;const pt=()=>++OB,ee={UNEXPECTED_RETURN_TYPE:OB,INVALID_ARGUMENT:pt(),MUST_BE_CALL_SETUP_TOP:pt(),NOT_INSLALLED:pt(),NOT_AVAILABLE_IN_LEGACY_MODE:pt(),REQUIRED_VALUE:pt(),INVALID_VALUE:pt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:pt(),NOT_INSLALLED_WITH_PROVIDE:pt(),UNEXPECTED_ERROR:pt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:pt(),BRIDGE_SUPPORT_VUE_2_ONLY:pt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:pt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:pt(),__EXTEND_POINT__:pt()};function Mn(t,...A){return la(t,null,process.env.NODE_ENV!=="production"?{messages:yS,args:A}:void 0)}const yS={[ee.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[ee.INVALID_ARGUMENT]:"Invalid argument",[ee.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[ee.NOT_INSLALLED]:"Need to install with `app.use` function",[ee.UNEXPECTED_ERROR]:"Unexpected error",[ee.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[ee.REQUIRED_VALUE]:"Required in value: {0}",[ee.INVALID_VALUE]:"Invalid value",[ee.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[ee.NOT_INSLALLED_WITH_PROVIDE]:"Need to install with `provide` function",[ee.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[ee.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Hn("__transrateVNode"),Eu=Hn("__datetimeParts"),Fu=Hn("__numberParts"),Uu=Hn("__enableEmitter"),bu=Hn("__disableEmitter"),QS=Hn("__setPluralRules");Hn("__intlifyMeta");const MB=Hn("__injectWithOption");function vu(t){if(!JA(t))return t;for(const A in t)if(du(t,A))if(!A.includes("."))JA(t[A])&&vu(t[A]);else{const e=A.split("."),n=e.length-1;let r=t;for(let i=0;i<n;i++)e[i]in r||(r[e[i]]={}),r=r[e[i]];r[e[n]]=t[A],delete t[A],JA(r[e[n]])&&vu(r[e[n]])}return t}function Iu(t,A){const{messages:e,__i18n:n,messageResolver:r,flatJson:i}=A,s=TA(e)?e:le(n)?{}:{[t]:{}};if(le(n)&&n.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:c,resource:u}=a;c?(s[c]=s[c]||{},Os(u,s[c])):Os(u,s)}else nA(a)&&Os(JSON.parse(a),s)}),r==null&&i)for(const a in s)du(s,a)&&vu(s[a]);return s}const ha=t=>!JA(t)||le(t);function Os(t,A){if(ha(t)||ha(A))throw Mn(ee.INVALID_VALUE);for(const e in t)du(t,e)&&(ha(t[e])||ha(A[e])?A[e]=t[e]:Os(t[e],A[e]))}function DB(t){return t.type}function ES(t,A,e){let n=JA(A.messages)?A.messages:{};"__i18nGlobal"in e&&(n=Iu(t.locale.value,{messages:n,__i18n:e.__i18nGlobal}));const r=Object.keys(n);r.length&&r.forEach(i=>{t.mergeLocaleMessage(i,n[i])});{if(JA(A.datetimeFormats)){const i=Object.keys(A.datetimeFormats);i.length&&i.forEach(s=>{t.mergeDateTimeFormat(s,A.datetimeFormats[s])})}if(JA(A.numberFormats)){const i=Object.keys(A.numberFormats);i.length&&i.forEach(s=>{t.mergeNumberFormat(s,A.numberFormats[s])})}}}function kB(t){return h.createVNode(h.Text,null,t,0)}const NB="__INTLIFY_META__";let RB=0;function KB(t){return(A,e,n,r)=>t(e,n,h.getCurrentInstance()||void 0,r)}const FS=()=>{const t=h.getCurrentInstance();let A=null;return t&&(A=DB(t)[NB])?{[NB]:A}:null};function US(t={},A){const{__root:e}=t,n=e===void 0;let r=qA(t.inheritLocale)?t.inheritLocale:!0;const i=h.ref(e&&r?e.locale.value:nA(t.locale)?t.locale:ua),s=h.ref(e&&r?e.fallbackLocale.value:nA(t.fallbackLocale)||le(t.fallbackLocale)||TA(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i.value),a=h.ref(Iu(i.value,t)),c=h.ref(TA(t.datetimeFormats)?t.datetimeFormats:{[i.value]:{}}),u=h.ref(TA(t.numberFormats)?t.numberFormats:{[i.value]:{}});let d=e?e.missingWarn:qA(t.missingWarn)||Li(t.missingWarn)?t.missingWarn:!0,p=e?e.fallbackWarn:qA(t.fallbackWarn)||Li(t.fallbackWarn)?t.fallbackWarn:!0,B=e?e.fallbackRoot:qA(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,C=Qe(t.missing)?t.missing:null,E=Qe(t.missing)?KB(t.missing):null,S=Qe(t.postTranslation)?t.postTranslation:null,U=e?e.warnHtmlMessage:qA(t.warnHtmlMessage)?t.warnHtmlMessage:!0,v=!!t.escapeParameter;const M=e?e.modifiers:TA(t.modifiers)?t.modifiers:{};let F=t.pluralRules||e&&e.pluralRules,T;T=(()=>{n&&gB(null);const V={version:mS,locale:i.value,fallbackLocale:s.value,messages:a.value,modifiers:M,pluralRules:F,missing:E===null?void 0:E,missingWarn:d,fallbackWarn:p,fallbackFormat:m,unresolving:!0,postTranslation:S===null?void 0:S,warnHtmlMessage:U,escapeParameter:v,messageResolver:t.messageResolver,__meta:{framework:"vue"}};V.datetimeFormats=c.value,V.numberFormats=u.value,V.__datetimeFormatters=TA(T)?T.__datetimeFormatters:void 0,V.__numberFormatters=TA(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(V.__v_emitter=TA(T)?T.__v_emitter:void 0);const Y=oS(V);return n&&gB(Y),Y})(),_s(T,i.value,s.value);function N(){return[i.value,s.value,a.value,c.value,u.value]}const W=h.computed({get:()=>i.value,set:V=>{i.value=V,T.locale=i.value}}),$=h.computed({get:()=>s.value,set:V=>{s.value=V,T.fallbackLocale=s.value,_s(T,i.value,V)}}),eA=h.computed(()=>a.value),gA=h.computed(()=>c.value),wA=h.computed(()=>u.value);function aA(){return Qe(S)?S:null}function HA(V){S=V,T.postTranslation=V}function WA(){return C}function bA(V){V!==null&&(E=KB(V)),C=V,T.missing=E}function vA(V,Y){return V!=="translate"||!Y.resolvedMessage}const mA=(V,Y,oe,Fe,an,St)=>{N();let Gt;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)try{hB(FS()),n||(T.fallbackContext=e?sS():void 0),Gt=V(T)}finally{hB(null),n||(T.fallbackContext=void 0)}else Gt=V(T);if(Je(Gt)&&Gt===ca){const[Tt,ni]=Y();if(process.env.NODE_ENV!=="production"&&e&&nA(Tt)&&vA(oe,ni)&&(B&&(da(p,Tt)||mB(d,Tt))&&xs(_B(On.FALLBACK_TO_ROOT,{key:Tt,type:oe})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ur}=T;Ur&&B&&Ur.emit("fallback",{type:oe,key:Tt,to:"global",groupId:`${oe}:${Tt}`})}return e&&B?Fe(e):an(Tt)}else{if(St(Gt))return Gt;throw Mn(ee.UNEXPECTED_RETURN_TYPE)}};function re(...V){return mA(Y=>Reflect.apply(QB,null,[Y,...V]),()=>wu(...V),"translate",Y=>Reflect.apply(Y.t,Y,[...V]),Y=>Y,Y=>nA(Y))}function ZA(...V){const[Y,oe,Fe]=V;if(Fe&&!JA(Fe))throw Mn(ee.INVALID_ARGUMENT);return re(Y,oe,Oe({resolvedMessage:!0},Fe||{}))}function $A(...V){return mA(Y=>Reflect.apply(vB,null,[Y,...V]),()=>Cu(...V),"datetime format",Y=>Reflect.apply(Y.d,Y,[...V]),()=>fa,Y=>nA(Y))}function Be(...V){return mA(Y=>Reflect.apply(TB,null,[Y,...V]),()=>yu(...V),"number format",Y=>Reflect.apply(Y.n,Y,[...V]),()=>fa,Y=>nA(Y))}function me(V){return V.map(Y=>nA(Y)||Je(Y)||qA(Y)?kB(String(Y)):Y)}const jA={normalize:me,interpolate:V=>V,type:"vnode"};function fe(...V){return mA(Y=>{let oe;const Fe=Y;try{Fe.processor=jA,oe=Reflect.apply(QB,null,[Fe,...V])}finally{Fe.processor=null}return oe},()=>wu(...V),"translate",Y=>Y[Qu](...V),Y=>[kB(Y)],Y=>le(Y))}function it(...V){return mA(Y=>Reflect.apply(TB,null,[Y,...V]),()=>yu(...V),"number format",Y=>Y[Fu](...V),()=>[],Y=>nA(Y)||le(Y))}function st(...V){return mA(Y=>Reflect.apply(vB,null,[Y,...V]),()=>Cu(...V),"datetime format",Y=>Y[Eu](...V),()=>[],Y=>nA(Y)||le(Y))}function ze(V){F=V,T.pluralRules=F}function ke(V,Y){const oe=nA(Y)?Y:i.value,Fe=H(oe);return T.messageResolver(Fe,V)!==null}function ot(V){let Y=null;const oe=oB(T,s.value,i.value);for(let Fe=0;Fe<oe.length;Fe++){const an=a.value[oe[Fe]]||{},St=T.messageResolver(an,V);if(St!=null){Y=St;break}}return Y}function It(V){const Y=ot(V);return Y??(e?e.tm(V)||{}:{})}function H(V){return a.value[V]||{}}function b(V,Y){a.value[V]=Y,T.messages=a.value}function k(V,Y){a.value[V]=a.value[V]||{},Os(Y,a.value[V]),T.messages=a.value}function q(V){return c.value[V]||{}}function oA(V,Y){c.value[V]=Y,T.datetimeFormats=c.value,SB(T,V,Y)}function IA(V,Y){c.value[V]=Oe(c.value[V]||{},Y),T.datetimeFormats=c.value,SB(T,V,Y)}function at(V){return u.value[V]||{}}function Ne(V,Y){u.value[V]=Y,T.numberFormats=u.value,HB(T,V,Y)}function Re(V,Y){u.value[V]=Oe(u.value[V]||{},Y),T.numberFormats=u.value,HB(T,V,Y)}RB++,e&&dr&&(h.watch(e.locale,V=>{r&&(i.value=V,T.locale=V,_s(T,i.value,s.value))}),h.watch(e.fallbackLocale,V=>{r&&(s.value=V,T.fallbackLocale=V,_s(T,i.value,s.value))}));const KA={id:RB,locale:W,fallbackLocale:$,get inheritLocale(){return r},set inheritLocale(V){r=V,V&&e&&(i.value=e.locale.value,s.value=e.fallbackLocale.value,_s(T,i.value,s.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:eA,get modifiers(){return M},get pluralRules(){return F||{}},get isGlobal(){return n},get missingWarn(){return d},set missingWarn(V){d=V,T.missingWarn=d},get fallbackWarn(){return p},set fallbackWarn(V){p=V,T.fallbackWarn=p},get fallbackRoot(){return B},set fallbackRoot(V){B=V},get fallbackFormat(){return m},set fallbackFormat(V){m=V,T.fallbackFormat=m},get warnHtmlMessage(){return U},set warnHtmlMessage(V){U=V,T.warnHtmlMessage=V},get escapeParameter(){return v},set escapeParameter(V){v=V,T.escapeParameter=V},t:re,getLocaleMessage:H,setLocaleMessage:b,mergeLocaleMessage:k,getPostTranslationHandler:aA,setPostTranslationHandler:HA,getMissingHandler:WA,setMissingHandler:bA,[QS]:ze};return KA.datetimeFormats=gA,KA.numberFormats=wA,KA.rt=ZA,KA.te=ke,KA.tm=It,KA.d=$A,KA.n=Be,KA.getDateTimeFormat=q,KA.setDateTimeFormat=oA,KA.mergeDateTimeFormat=IA,KA.getNumberFormat=at,KA.setNumberFormat=Ne,KA.mergeNumberFormat=Re,KA[MB]=t.__injectWithOption,KA[Qu]=fe,KA[Eu]=st,KA[Fu]=it,process.env.NODE_ENV!=="production"&&(KA[Uu]=V=>{T.__v_emitter=V},KA[bu]=()=>{T.__v_emitter=void 0}),KA}const Su={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function bS({slots:t},A){return A.length===1&&A[0]==="default"?(t.default?t.default():[]).reduce((n,r)=>n=[...n,...le(r.children)?r.children:[r]],[]):A.reduce((e,n)=>{const r=t[n];return r&&(e[n]=r()),e},{})}function VB(t){return h.Fragment}Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Je(t)||!isNaN(t)}},Su);function vS(t){return le(t)&&!nA(t[0])}function PB(t,A,e,n){const{slots:r,attrs:i}=A;return()=>{const s={part:!0};let a={};t.locale&&(s.locale=t.locale),nA(t.format)?s.key=t.format:JA(t.format)&&(nA(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((B,m)=>e.includes(m)?Oe({},B,{[m]:t.format[m]}):B,{}));const c=n(t.value,s,a);let u=[s.key];le(c)?u=c.map((B,m)=>{const C=r[B.type],E=C?C({[B.type]:B.value,index:m,parts:c}):[B.value];return vS(E)&&(E[0].key=`${B.type}-${m}`),E}):nA(c)&&(u=[c]);const d=Oe({},i),p=nA(t.tag)||JA(t.tag)?t.tag:VB();return h.h(p,d,u)}}Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Su),Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Su);function GB(t,A){}const IS=Hn("global-vue-i18n");function pa(t={}){const A=h.getCurrentInstance();if(A==null)throw Mn(ee.MUST_BE_CALL_SETUP_TOP);if(!A.isCE&&A.appContext.app!=null&&!A.appContext.app.__VUE_I18N_SYMBOL__)throw Mn(ee.NOT_INSLALLED);const e=SS(A),n=xS(e),r=DB(A),i=TS(t,r);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw Mn(ee.NOT_AVAILABLE_IN_LEGACY_MODE);return _S(A,i,n,t)}if(i==="global")return ES(n,t,r),n;if(i==="parent"){let c=HS(e,A,t.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&xs(_B(On.NOT_FOUND_PARENT_SCOPE)),c=n),c}const s=e;let a=s.__getInstance(A);if(a==null){const c=Oe({},t);"__i18n"in r&&(c.__i18n=r.__i18n),n&&(c.__root=n),a=US(c),LS(s,A,a),s.__setInstance(A,a)}return a}function SS(t){{const A=h.inject(t.isCE?IS:t.appContext.app.__VUE_I18N_SYMBOL__);if(!A)throw Mn(t.isCE?ee.NOT_INSLALLED_WITH_PROVIDE:ee.UNEXPECTED_ERROR);return A}}function TS(t,A){return aa(t)?"__i18n"in A?"local":"global":t.useScope?t.useScope:"local"}function xS(t){return t.mode==="composition"?t.global:t.global.__composer}function HS(t,A,e=!1){let n=null;const r=A.root;let i=A.parent;for(;i!=null;){const s=t;if(t.mode==="composition")n=s.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(i);a!=null&&(n=a.__composer,e&&n&&!n[MB]&&(n=null))}if(n!=null||r===i)break;i=i.parent}return n}function LS(t,A,e){let n=null;h.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el){A.vnode.el.__VUE_I18N__=e,n=o1();const r=e;r[Uu]&&r[Uu](n),n.on("*",GB)}},A),h.onUnmounted(()=>{if(process.env.NODE_ENV!=="production"&&A.vnode.el&&A.vnode.el.__VUE_I18N__){n&&n.off("*",GB);const r=e;r[bu]&&r[bu](),delete A.vnode.el.__VUE_I18N__}t.__deleteInstance(A)},A)}function _S(t,A,e,n={}){const r=A==="local",i=h.shallowRef(null);if(r&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Mn(ee.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=qA(n.inheritLocale)?n.inheritLocale:!0,a=h.ref(r&&s?e.locale.value:nA(n.locale)?n.locale:ua),c=h.ref(r&&s?e.fallbackLocale.value:nA(n.fallbackLocale)||le(n.fallbackLocale)||TA(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),u=h.ref(Iu(a.value,n)),d=h.ref(TA(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),p=h.ref(TA(n.numberFormats)?n.numberFormats:{[a.value]:{}}),B=r?e.missingWarn:qA(n.missingWarn)||Li(n.missingWarn)?n.missingWarn:!0,m=r?e.fallbackWarn:qA(n.fallbackWarn)||Li(n.fallbackWarn)?n.fallbackWarn:!0,C=r?e.fallbackRoot:qA(n.fallbackRoot)?n.fallbackRoot:!0,E=!!n.fallbackFormat,S=Qe(n.missing)?n.missing:null,U=Qe(n.postTranslation)?n.postTranslation:null,v=r?e.warnHtmlMessage:qA(n.warnHtmlMessage)?n.warnHtmlMessage:!0,M=!!n.escapeParameter,F=r?e.modifiers:TA(n.modifiers)?n.modifiers:{},T=n.pluralRules||r&&e.pluralRules;function L(){return[a.value,c.value,u.value,d.value,p.value]}const N=h.computed({get:()=>i.value?i.value.locale.value:a.value,set:b=>{i.value&&(i.value.locale.value=b),a.value=b}}),W=h.computed({get:()=>i.value?i.value.fallbackLocale.value:c.value,set:b=>{i.value&&(i.value.fallbackLocale.value=b),c.value=b}}),$=h.computed(()=>i.value?i.value.messages.value:u.value),eA=h.computed(()=>d.value),gA=h.computed(()=>p.value);function wA(){return i.value?i.value.getPostTranslationHandler():U}function aA(b){i.value&&i.value.setPostTranslationHandler(b)}function HA(){return i.value?i.value.getMissingHandler():S}function WA(b){i.value&&i.value.setMissingHandler(b)}function bA(b){return L(),b()}function vA(...b){return i.value?bA(()=>Reflect.apply(i.value.t,null,[...b])):bA(()=>"")}function mA(...b){return i.value?Reflect.apply(i.value.rt,null,[...b]):""}function re(...b){return i.value?bA(()=>Reflect.apply(i.value.d,null,[...b])):bA(()=>"")}function ZA(...b){return i.value?bA(()=>Reflect.apply(i.value.n,null,[...b])):bA(()=>"")}function $A(b){return i.value?i.value.tm(b):{}}function Be(b,k){return i.value?i.value.te(b,k):!1}function me(b){return i.value?i.value.getLocaleMessage(b):{}}function Te(b,k){i.value&&(i.value.setLocaleMessage(b,k),u.value[b]=k)}function jA(b,k){i.value&&i.value.mergeLocaleMessage(b,k)}function fe(b){return i.value?i.value.getDateTimeFormat(b):{}}function it(b,k){i.value&&(i.value.setDateTimeFormat(b,k),d.value[b]=k)}function st(b,k){i.value&&i.value.mergeDateTimeFormat(b,k)}function ze(b){return i.value?i.value.getNumberFormat(b):{}}function ke(b,k){i.value&&(i.value.setNumberFormat(b,k),p.value[b]=k)}function ot(b,k){i.value&&i.value.mergeNumberFormat(b,k)}const It={get id(){return i.value?i.value.id:-1},locale:N,fallbackLocale:W,messages:$,datetimeFormats:eA,numberFormats:gA,get inheritLocale(){return i.value?i.value.inheritLocale:s},set inheritLocale(b){i.value&&(i.value.inheritLocale=b)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:F},get pluralRules(){return i.value?i.value.pluralRules:T},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:B},set missingWarn(b){i.value&&(i.value.missingWarn=b)},get fallbackWarn(){return i.value?i.value.fallbackWarn:m},set fallbackWarn(b){i.value&&(i.value.missingWarn=b)},get fallbackRoot(){return i.value?i.value.fallbackRoot:C},set fallbackRoot(b){i.value&&(i.value.fallbackRoot=b)},get fallbackFormat(){return i.value?i.value.fallbackFormat:E},set fallbackFormat(b){i.value&&(i.value.fallbackFormat=b)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:v},set warnHtmlMessage(b){i.value&&(i.value.warnHtmlMessage=b)},get escapeParameter(){return i.value?i.value.escapeParameter:M},set escapeParameter(b){i.value&&(i.value.escapeParameter=b)},t:vA,getPostTranslationHandler:wA,setPostTranslationHandler:aA,getMissingHandler:HA,setMissingHandler:WA,rt:mA,d:re,n:ZA,tm:$A,te:Be,getLocaleMessage:me,setLocaleMessage:Te,mergeLocaleMessage:jA,getDateTimeFormat:fe,setDateTimeFormat:it,mergeDateTimeFormat:st,getNumberFormat:ze,setNumberFormat:ke,mergeNumberFormat:ot};function H(b){b.locale.value=a.value,b.fallbackLocale.value=c.value,Object.keys(u.value).forEach(k=>{b.mergeLocaleMessage(k,u.value[k])}),Object.keys(d.value).forEach(k=>{b.mergeDateTimeFormat(k,d.value[k])}),Object.keys(p.value).forEach(k=>{b.mergeNumberFormat(k,p.value[k])}),b.escapeParameter=M,b.fallbackFormat=E,b.fallbackRoot=C,b.fallbackWarn=m,b.missingWarn=B,b.warnHtmlMessage=v}return h.onBeforeMount(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Mn(ee.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const b=i.value=t.proxy.$i18n.__composer;A==="global"?(a.value=b.locale.value,c.value=b.fallbackLocale.value,u.value=b.messages.value,d.value=b.datetimeFormats.value,p.value=b.numberFormats.value):r&&H(b)}),It}if(tS(fS),nS(D1),rS(oB),wS(),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Hs();t.__INTLIFY__=!0,$1(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const OS={class:"input input-dropdown"},MS={class:"dropdown"},DS={class:"caption"},kS=["innerHTML"],NS={class:"caption__text"},RS={class:"d-block text-truncate"},KS={class:"dropdown-menu"},VS={class:"form-check"},PS=["value","id","name","label","required","disabled"],GS=["value","id","name","label","required","disabled"],WS=["for"],$S=h.defineComponent({__name:"input-dropdown",props:{id:{type:String},name:{type:String},label:{type:String},error:{type:String},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},modelValue:{type:null},value:{type:String},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},showSelectionCount:{type:Boolean,default:!1},toggleCaption:{type:String},placeholder:{type:String,default:""},icon:{default:"chevron-down",type:String},variant:{type:String,default:""},color:{type:String,default:""},outlined:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,{t:n}=pa(),r=h.computed({get(){return e.multiple&&!e.modelValue?[]:e.modelValue},set(a){A("update:modelValue",a)}}),i=h.computed(()=>e.options.map(a=>(a=typeof a=="string"?{text:a,value:a}:a,{...a,active:e.modelValue&&e.modelValue.includes(a.value)}))),s=h.computed(()=>e.modelValue&&e.modelValue.length?Array.isArray(e.modelValue)&&e.modelValue.length?i.value.reduce((a,c)=>e.modelValue.includes(c.value)?`${a}${a?", ":""}${c.text}`:a,""):i.value.reduce((a,c)=>c.value===e.modelValue?`${a}${c.text}`:a,""):e.placeholder||`${n("common.select")}`);return(a,c)=>{const u=h.resolveComponent("base-button");return h.openBlock(),h.createElementBlock("div",OS,[h.createElementVNode("div",MS,[h.createVNode(u,{"data-bs-toggle":"dropdown",role:"button",type:"button",title:h.unref(s),class:"btn dropdown-toggle",color:t.color,outlined:t.outlined,disabled:t.disabled},{default:h.withCtx(()=>[h.createElementVNode("span",DS,[h.createVNode(h.Transition,{name:"bounce"},{default:h.withCtx(()=>[t.showSelectionCount&&t.modelValue.length?(h.openBlock(),h.createElementBlock("i",{key:0,class:"caption__count",innerHTML:t.modelValue.length},null,8,kS)):h.createCommentVNode("",!0)]),_:1}),h.createElementVNode("span",NS,[h.createElementVNode("span",RS,h.toDisplayString(t.toggleCaption||h.unref(s)),1)])])]),_:1},8,["title","color","outlined","disabled"]),h.createElementVNode("ul",KS,[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(h.unref(i),(d,p)=>(h.openBlock(),h.createElementBlock("li",{key:`${d.value}-${p}`},[h.createElementVNode("div",{class:h.normalizeClass(["dropdown-item",d.active&&"active"])},[h.createElementVNode("div",VS,[t.multiple?h.withDirectives((h.openBlock(),h.createElementBlock("input",{type:"checkbox","onUpdate:modelValue":c[0]||(c[0]=B=>h.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${p}__if`,id:`${t.name}-${d.value}-${p}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,PS)),[[h.vModelCheckbox,h.unref(r)]]):h.withDirectives((h.openBlock(),h.createElementBlock("input",{type:"radio","onUpdate:modelValue":c[1]||(c[1]=B=>h.isRef(r)?r.value=B:null),value:d.value,key:`${t.name}-${d.value}-${p}__else`,id:`${t.name}-${d.value}-${p}`,name:t.name,label:d.text,required:t.required,disabled:d.selectable===!1,class:"form-check-input"},null,8,GS)),[[h.vModelRadio,h.unref(r)]]),h.createElementVNode("label",{class:"form-check-label flex-grow-1",onclick:"event.stopPropagation",for:`${t.name}-${d.value}-${p}`},h.toDisplayString(d.text),9,WS)])],2)]))),128))])])])}}});var Ms=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ds={},JS={get exports(){return Ds},set exports(t){Ds=t}};/**
|
|
138
138
|
* @license
|
|
139
139
|
* Lodash <https://lodash.com/>
|
|
140
140
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -181,4 +181,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
181
181
|
content: "" !important;
|
|
182
182
|
display: none !important;
|
|
183
183
|
}`,xM=function(t){HM(t,"."+vf+SM+Gw+`
|
|
184
|
-
.`+If+TM+Gw)},HM=function(t,A){var e=t.ownerDocument;if(e){var n=e.createElement("style");n.textContent=A,t.appendChild(n)}},Ww=function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t}(),LM=function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Tf(A)||DM(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return rt(this,void 0,void 0,function(){var e,n,r,i,s=this;return Xe(this,function(a){switch(a.label){case 0:return e=Ww.isSameOrigin(A),n=!Sf(A)&&this._options.useCORS===!0&&De.SUPPORT_CORS_IMAGES&&!e,r=!Sf(A)&&!e&&!Tf(A)&&typeof this._options.proxy=="string"&&De.SUPPORT_CORS_XHR&&!n,!e&&this._options.allowTaint===!1&&!Sf(A)&&!Tf(A)&&!r&&!n?[2]:(i=A,r?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(c,u){var d=new Image;d.onload=function(){return c(d)},d.onerror=u,(kM(i)||n)&&(d.crossOrigin="anonymous"),d.src=i,d.complete===!0&&setTimeout(function(){return c(d)},500),s._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise(function(i,s){var a=De.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(a==="text")i(c.response);else{var p=new FileReader;p.addEventListener("load",function(){return i(p.result)},!1),p.addEventListener("error",function(B){return s(B)},!1),p.readAsDataURL(c.response)}else s("Failed to proxy resource "+r+" with status code "+c.status)},c.onerror=s;var u=n.indexOf("?")>-1?"&":"?";if(c.open("GET",""+n+u+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=a),e._options.imageTimeout){var d=e._options.imageTimeout;c.timeout=d,c.ontimeout=function(){return s("Timed out ("+d+"ms) proxying "+r)}}c.send()})},t}(),_M=/^data:image\/svg\+xml/i,OM=/^data:image\/.*;base64,/i,MM=/^data:image\/.*/i,DM=function(t){return De.SUPPORT_SVG_DRAWING||!NM(t)},Sf=function(t){return MM.test(t)},kM=function(t){return OM.test(t)},Tf=function(t){return t.substr(0,4)==="blob"},NM=function(t){return t.substr(-3).toLowerCase()==="svg"||_M.test(t)},Z=function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t}(),Ji=function(t,A,e){return new Z(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},tl=function(){function t(A,e,n,r){this.type=1,this.start=A,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(A,e){var n=Ji(this.start,this.startControl,A),r=Ji(this.startControl,this.endControl,A),i=Ji(this.endControl,this.end,A),s=Ji(n,r,A),a=Ji(r,i,A),c=Ji(s,a,A);return e?new t(this.start,n,s,c):new t(c,a,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Vt=function(t){return t.type===1},RM=function(){function t(A){var e=A.styles,n=A.bounds,r=qs(e.borderTopLeftRadius,n.width,n.height),i=r[0],s=r[1],a=qs(e.borderTopRightRadius,n.width,n.height),c=a[0],u=a[1],d=qs(e.borderBottomRightRadius,n.width,n.height),p=d[0],B=d[1],m=qs(e.borderBottomLeftRadius,n.width,n.height),C=m[0],E=m[1],S=[];S.push((i+c)/n.width),S.push((C+p)/n.width),S.push((s+E)/n.height),S.push((u+B)/n.height);var U=Math.max.apply(Math,S);U>1&&(i/=U,s/=U,c/=U,u/=U,p/=U,B/=U,C/=U,E/=U);var v=n.width-c,M=n.height-B,F=n.width-p,T=n.height-E,L=e.borderTopWidth,N=e.borderRightWidth,W=e.borderBottomWidth,$=e.borderLeftWidth,eA=YA(e.paddingTop,A.bounds.width),gA=YA(e.paddingRight,A.bounds.width),wA=YA(e.paddingBottom,A.bounds.width),aA=YA(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?te(n.left+$/3,n.top+L/3,i-$/3,s-L/3,NA.TOP_LEFT):new Z(n.left+$/3,n.top+L/3),this.topRightBorderDoubleOuterBox=i>0||s>0?te(n.left+v,n.top+L/3,c-N/3,u-L/3,NA.TOP_RIGHT):new Z(n.left+n.width-N/3,n.top+L/3),this.bottomRightBorderDoubleOuterBox=p>0||B>0?te(n.left+F,n.top+M,p-N/3,B-W/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/3,n.top+n.height-W/3),this.bottomLeftBorderDoubleOuterBox=C>0||E>0?te(n.left+$/3,n.top+T,C-$/3,E-W/3,NA.BOTTOM_LEFT):new Z(n.left+$/3,n.top+n.height-W/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?te(n.left+$*2/3,n.top+L*2/3,i-$*2/3,s-L*2/3,NA.TOP_LEFT):new Z(n.left+$*2/3,n.top+L*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?te(n.left+v,n.top+L*2/3,c-N*2/3,u-L*2/3,NA.TOP_RIGHT):new Z(n.left+n.width-N*2/3,n.top+L*2/3),this.bottomRightBorderDoubleInnerBox=p>0||B>0?te(n.left+F,n.top+M,p-N*2/3,B-W*2/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N*2/3,n.top+n.height-W*2/3),this.bottomLeftBorderDoubleInnerBox=C>0||E>0?te(n.left+$*2/3,n.top+T,C-$*2/3,E-W*2/3,NA.BOTTOM_LEFT):new Z(n.left+$*2/3,n.top+n.height-W*2/3),this.topLeftBorderStroke=i>0||s>0?te(n.left+$/2,n.top+L/2,i-$/2,s-L/2,NA.TOP_LEFT):new Z(n.left+$/2,n.top+L/2),this.topRightBorderStroke=i>0||s>0?te(n.left+v,n.top+L/2,c-N/2,u-L/2,NA.TOP_RIGHT):new Z(n.left+n.width-N/2,n.top+L/2),this.bottomRightBorderStroke=p>0||B>0?te(n.left+F,n.top+M,p-N/2,B-W/2,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/2,n.top+n.height-W/2),this.bottomLeftBorderStroke=C>0||E>0?te(n.left+$/2,n.top+T,C-$/2,E-W/2,NA.BOTTOM_LEFT):new Z(n.left+$/2,n.top+n.height-W/2),this.topLeftBorderBox=i>0||s>0?te(n.left,n.top,i,s,NA.TOP_LEFT):new Z(n.left,n.top),this.topRightBorderBox=c>0||u>0?te(n.left+v,n.top,c,u,NA.TOP_RIGHT):new Z(n.left+n.width,n.top),this.bottomRightBorderBox=p>0||B>0?te(n.left+F,n.top+M,p,B,NA.BOTTOM_RIGHT):new Z(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=C>0||E>0?te(n.left,n.top+T,C,E,NA.BOTTOM_LEFT):new Z(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||s>0?te(n.left+$,n.top+L,Math.max(0,i-$),Math.max(0,s-L),NA.TOP_LEFT):new Z(n.left+$,n.top+L),this.topRightPaddingBox=c>0||u>0?te(n.left+Math.min(v,n.width-N),n.top+L,v>n.width+N?0:Math.max(0,c-N),Math.max(0,u-L),NA.TOP_RIGHT):new Z(n.left+n.width-N,n.top+L),this.bottomRightPaddingBox=p>0||B>0?te(n.left+Math.min(F,n.width-$),n.top+Math.min(M,n.height-W),Math.max(0,p-N),Math.max(0,B-W),NA.BOTTOM_RIGHT):new Z(n.left+n.width-N,n.top+n.height-W),this.bottomLeftPaddingBox=C>0||E>0?te(n.left+$,n.top+Math.min(T,n.height-W),Math.max(0,C-$),Math.max(0,E-W),NA.BOTTOM_LEFT):new Z(n.left+$,n.top+n.height-W),this.topLeftContentBox=i>0||s>0?te(n.left+$+aA,n.top+L+eA,Math.max(0,i-($+aA)),Math.max(0,s-(L+eA)),NA.TOP_LEFT):new Z(n.left+$+aA,n.top+L+eA),this.topRightContentBox=c>0||u>0?te(n.left+Math.min(v,n.width+$+aA),n.top+L+eA,v>n.width+$+aA?0:c-$+aA,u-(L+eA),NA.TOP_RIGHT):new Z(n.left+n.width-(N+gA),n.top+L+eA),this.bottomRightContentBox=p>0||B>0?te(n.left+Math.min(F,n.width-($+aA)),n.top+Math.min(M,n.height+L+eA),Math.max(0,p-(N+gA)),B-(W+wA),NA.BOTTOM_RIGHT):new Z(n.left+n.width-(N+gA),n.top+n.height-(W+wA)),this.bottomLeftContentBox=C>0||E>0?te(n.left+$+aA,n.top+T,Math.max(0,C-($+aA)),E-(W+wA),NA.BOTTOM_LEFT):new Z(n.left+$+aA,n.top+n.height-(W+wA))}return t}(),NA;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(NA||(NA={}));var te=function(t,A,e,n,r){var i=4*((Math.sqrt(2)-1)/3),s=e*i,a=n*i,c=t+e,u=A+n;switch(r){case NA.TOP_LEFT:return new tl(new Z(t,u),new Z(t,u-a),new Z(c-s,A),new Z(c,A));case NA.TOP_RIGHT:return new tl(new Z(t,A),new Z(t+s,A),new Z(c,u-a),new Z(c,u));case NA.BOTTOM_RIGHT:return new tl(new Z(c,A),new Z(c,A+a),new Z(t+s,u),new Z(t,u));case NA.BOTTOM_LEFT:default:return new tl(new Z(c,u),new Z(c-s,u),new Z(t,A+a),new Z(t,A))}},nl=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},KM=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},rl=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},VM=function(){function t(A,e,n){this.offsetX=A,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}return t}(),il=function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t}(),PM=function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t}(),GM=function(t){return t.type===0},$w=function(t){return t.type===1},WM=function(t){return t.type===2},Jw=function(t,A){return t.length===A.length?t.some(function(e,n){return e===A[n]}):!1},$M=function(t,A,e,n,r){return t.map(function(i,s){switch(s){case 0:return i.add(A,e);case 1:return i.add(A+n,e);case 2:return i.add(A+n,e+r);case 3:return i.add(A,e+r)}return i})},Xw=function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),Yw=function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new RM(this.container),this.container.styles.opacity<1&&this.effects.push(new PM(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new VM(n,r,i))}if(this.container.styles.overflowX!==0){var s=nl(this.curves),a=rl(this.curves);Jw(s,a)?this.effects.push(new il(s,6)):(this.effects.push(new il(s,2)),this.effects.push(new il(a,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(c){return!$w(c)});if(e||n.container.styles.position!==0||!n.parent){if(r.unshift.apply(r,i),e=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var s=nl(n.curves),a=rl(n.curves);Jw(s,a)||r.unshift(new il(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(c){return Ee(c.target,A)})},t}(),xf=function(t,A,e,n){t.container.elements.forEach(function(r){var i=Ee(r.flags,4),s=Ee(r.flags,2),a=new Yw(r,t);Ee(r.styles.display,2048)&&n.push(a);var c=Ee(r.flags,8)?[]:n;if(i||s){var u=i||r.styles.isPositioned()?e:A,d=new Xw(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var p=r.styles.zIndex.order;if(p<0){var B=0;u.negativeZIndex.some(function(C,E){return p>C.element.container.styles.zIndex.order?(B=E,!1):B>0}),u.negativeZIndex.splice(B,0,d)}else if(p>0){var m=0;u.positiveZIndex.some(function(C,E){return p>=C.element.container.styles.zIndex.order?(m=E+1,!1):m>0}),u.positiveZIndex.splice(m,0,d)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else r.styles.isFloating()?u.nonPositionedFloats.push(d):u.nonPositionedInlineLevel.push(d);xf(a,d,i?d:e,c)}else r.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),xf(a,A,e,c);Ee(r.flags,8)&&zw(r,c)})},zw=function(t,A){for(var e=t instanceof Cf?t.start:1,n=t instanceof Cf?t.reversed:!1,r=0;r<A.length;r++){var i=A[r];i.container instanceof yw&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=no(e,i.container.styles.listStyleType,!0),e+=n?-1:1}},JM=function(t){var A=new Yw(t,null),e=new Xw(A),n=[];return xf(A,e,e,n),zw(A.container,n),e},qw=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Pt(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Pt(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Pt(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},XM=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Pt(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Pt(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Pt(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},YM=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Pt(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Pt(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Pt(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},zM=function(t,A){switch(A){case 0:return sl(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return sl(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return sl(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return sl(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},sl=function(t,A){var e=[];return Vt(t)?e.push(t.subdivide(.5,!1)):e.push(t),Vt(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},Pt=function(t,A,e,n){var r=[];return Vt(t)?r.push(t.subdivide(.5,!1)):r.push(t),Vt(e)?r.push(e.subdivide(.5,!0)):r.push(e),Vt(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),Vt(A)?r.push(A.subdivide(.5,!1).reverse()):r.push(A),r},Zw=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},ol=function(t){var A=t.styles,e=t.bounds,n=YA(A.paddingLeft,e.width),r=YA(A.paddingRight,e.width),i=YA(A.paddingTop,e.width),s=YA(A.paddingBottom,e.width);return e.add(n+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+n+r),-(A.borderTopWidth+A.borderBottomWidth+i+s))},qM=function(t,A){return t===0?A.bounds:t===2?ol(A):Zw(A)},ZM=function(t,A){return t===0?A.bounds:t===2?ol(A):Zw(A)},Hf=function(t,A,e){var n=qM(Yi(t.styles.backgroundOrigin,A),t),r=ZM(Yi(t.styles.backgroundClip,A),t),i=jM(Yi(t.styles.backgroundSize,A),e,n),s=i[0],a=i[1],c=qs(Yi(t.styles.backgroundPosition,A),n.width-s,n.height-a),u=AD(Yi(t.styles.backgroundRepeat,A),c,i,n,r),d=Math.round(n.left+c[0]),p=Math.round(n.top+c[1]);return[u,d,p,s,a]},Xi=function(t){return GA(t)&&t.value===Pi.AUTO},al=function(t){return typeof t=="number"},jM=function(t,A,e){var n=A[0],r=A[1],i=A[2],s=t[0],a=t[1];if(!s)return[0,0];if(ge(s)&&a&&ge(a))return[YA(s,e.width),YA(a,e.height)];var c=al(i);if(GA(s)&&(s.value===Pi.CONTAIN||s.value===Pi.COVER)){if(al(i)){var u=e.width/e.height;return u<i!=(s.value===Pi.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var d=al(n),p=al(r),B=d||p;if(Xi(s)&&(!a||Xi(a))){if(d&&p)return[n,r];if(!c&&!B)return[e.width,e.height];if(B&&c){var m=d?n:r*i,C=p?r:n/i;return[m,C]}var E=d?n:e.width,S=p?r:e.height;return[E,S]}if(c){var U=0,v=0;return ge(s)?U=YA(s,e.width):ge(a)&&(v=YA(a,e.height)),Xi(s)?U=v*i:(!a||Xi(a))&&(v=U/i),[U,v]}var M=null,F=null;if(ge(s)?M=YA(s,e.width):a&&ge(a)&&(F=YA(a,e.height)),M!==null&&(!a||Xi(a))&&(F=d&&p?M/n*r:e.height),F!==null&&Xi(s)&&(M=d&&p?F/r*n:e.width),M!==null&&F!==null)return[M,F];throw new Error("Unable to calculate background-size for element")},Yi=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},AD=function(t,A,e,n,r){var i=A[0],s=A[1],a=e[0],c=e[1];switch(t){case 2:return[new Z(Math.round(n.left),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(c+n.top+s)),new Z(Math.round(n.left),Math.round(c+n.top+s))];case 3:return[new Z(Math.round(n.left+i),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.height+n.top)),new Z(Math.round(n.left+i),Math.round(n.height+n.top))];case 1:return[new Z(Math.round(n.left+i),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s+c)),new Z(Math.round(n.left+i),Math.round(n.top+s+c))];default:return[new Z(Math.round(r.left),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Z(Math.round(r.left),Math.round(r.height+r.top))]}},eD="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",jw="Hidden Text",tD=function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;n.style.visibility="hidden",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",s.appendChild(n),r.src=eD,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(jw)),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(jw)),n.style.lineHeight="normal",r.style.verticalAlign="super";var c=r.offsetTop-n.offsetTop+2;return s.removeChild(n),{baseline:a,middle:c}},t.prototype.getMetrics=function(A,e){var n=A+" "+e;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(A,e)),this._data[n]},t}(),AC=function(){function t(A,e){this.context=A,this.options=e}return t}(),nD=1e4,rD=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new tD(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return A.prototype.applyEffects=function(e){for(var n=this;this._activeEffects.length;)this.popEffect();e.forEach(function(r){return n.applyEffect(r)})},A.prototype.applyEffect=function(e){this.ctx.save(),WM(e)&&(this.ctx.globalAlpha=e.opacity),GM(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),$w(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return n=e.element.container.styles,n.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return rt(this,void 0,void 0,function(){return Xe(this,function(n){switch(n.label){case 0:if(Ee(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(e)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,n,r){var i=this;if(n===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var s=wf(e.text);s.reduce(function(a,c){return i.ctx.fillText(c,a,e.bounds.top+r),a+i.ctx.measureText(c).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var n=e.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),r=lD(e.fontFamily).join(", "),i=zs(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,n,e.fontWeight,i,r].join(" "),r,i]},A.prototype.renderTextNode=function(e,n){return rt(this,void 0,void 0,function(){var r,i,s,a,c,u,d,p,B=this;return Xe(this,function(m){return r=this.createFontStyle(n),i=r[0],s=r[1],a=r[2],this.ctx.font=i,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(s,a),u=c.baseline,d=c.middle,p=n.paintOrder,e.textBounds.forEach(function(C){p.forEach(function(E){switch(E){case 0:B.ctx.fillStyle=Se(n.color),B.renderTextWithLetterSpacing(C,n.letterSpacing,u);var S=n.textShadow;S.length&&C.text.trim().length&&(S.slice(0).reverse().forEach(function(U){B.ctx.shadowColor=Se(U.color),B.ctx.shadowOffsetX=U.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=U.offsetY.number*B.options.scale,B.ctx.shadowBlur=U.blur.number,B.renderTextWithLetterSpacing(C,n.letterSpacing,u)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),n.textDecorationLine.length&&(B.ctx.fillStyle=Se(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(U){switch(U){case 1:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top+u),C.bounds.width,1);break;case 2:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top),C.bounds.width,1);break;case 3:B.ctx.fillRect(C.bounds.left,Math.ceil(C.bounds.top+d),C.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&C.text.trim().length&&(B.ctx.strokeStyle=Se(n.webkitTextStrokeColor),B.ctx.lineWidth=n.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(C.text,C.bounds.left,C.bounds.top+u)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,n,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=ol(e),s=rl(n);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,v,v,u,d,p,B,F,m,C,T,E,S,U,v,M,F,T;return Xe(this,function(L){switch(L.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,s=0,a=n.textNodes,L.label=1;case 1:return s<a.length?(c=a[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:L.sent(),L.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof mw))return[3,8];L.label=5;case 5:return L.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return v=L.sent(),this.renderReplacedElement(n,r,v),[3,8];case 7:return L.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof ww&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof Cw))return[3,12];L.label=9;case 9:return L.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return v=L.sent(),this.renderReplacedElement(n,r,v),[3,12];case 11:return L.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof Uw&&n.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,u.render(n.tree)]):[3,14];case 13:d=L.sent(),n.width&&n.height&&this.ctx.drawImage(d,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),L.label=14;case 14:if(n instanceof yf&&(p=Math.min(n.bounds.width,n.bounds.height),n.type===za?n.checked&&(this.ctx.save(),this.path([new Z(n.bounds.left+p*.39363,n.bounds.top+p*.79),new Z(n.bounds.left+p*.16,n.bounds.top+p*.5549),new Z(n.bounds.left+p*.27347,n.bounds.top+p*.44071),new Z(n.bounds.left+p*.39694,n.bounds.top+p*.5649),new Z(n.bounds.left+p*.72983,n.bounds.top+p*.23),new Z(n.bounds.left+p*.84,n.bounds.top+p*.34085),new Z(n.bounds.left+p*.39363,n.bounds.top+p*.79)]),this.ctx.fillStyle=Se(Qw),this.ctx.fill(),this.ctx.restore()):n.type===qa&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+p/2,n.bounds.top+p/2,p/4,0,Math.PI*2,!0),this.ctx.fillStyle=Se(Qw),this.ctx.fill(),this.ctx.restore())),iD(n)&&n.value.length){switch(B=this.createFontStyle(i),F=B[0],m=B[1],C=this.fontMetrics.getMetrics(F,m).baseline,this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=oD(n.styles.textAlign),T=ol(n),E=0,n.styles.textAlign){case 1:E+=T.width/2;break;case 2:E+=T.width;break}S=T.add(E,0,0,-T.height/2+1),this.ctx.save(),this.path([new Z(T.left,T.top),new Z(T.left+T.width,T.top),new Z(T.left+T.width,T.top+T.height),new Z(T.left,T.top+T.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new eo(n.value,S),i.letterSpacing,C),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ee(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(U=n.styles.listStyleImage,U.type!==0)return[3,18];v=void 0,M=U.url,L.label=15;case 15:return L.trys.push([15,17,,18]),[4,this.context.cache.match(M)];case 16:return v=L.sent(),this.ctx.drawImage(v,n.bounds.left-(v.width+10),n.bounds.top),[3,18];case 17:return L.sent(),this.context.logger.error("Error loading list-style-image "+M),[3,18];case 18:return[3,20];case 19:e.listValue&&n.styles.listStyleType!==-1&&(F=this.createFontStyle(i)[0],this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",T=new Dn(n.bounds.left,n.bounds.top+YA(n.styles.paddingTop,n.bounds.width),n.bounds.width,jm(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new eo(e.listValue,T),i.letterSpacing,jm(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),L.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return rt(this,void 0,void 0,function(){var n,r,U,i,s,U,a,c,U,u,d,U,p,B,U,m,C,U,E,S,U;return Xe(this,function(v){switch(v.label){case 0:if(Ee(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:v.sent(),n=0,r=e.negativeZIndex,v.label=2;case 2:return n<r.length?(U=r[n],[4,this.renderStack(U)]):[3,5];case 3:v.sent(),v.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:v.sent(),i=0,s=e.nonInlineLevel,v.label=7;case 7:return i<s.length?(U=s[i],[4,this.renderNode(U)]):[3,10];case 8:v.sent(),v.label=9;case 9:return i++,[3,7];case 10:a=0,c=e.nonPositionedFloats,v.label=11;case 11:return a<c.length?(U=c[a],[4,this.renderStack(U)]):[3,14];case 12:v.sent(),v.label=13;case 13:return a++,[3,11];case 14:u=0,d=e.nonPositionedInlineLevel,v.label=15;case 15:return u<d.length?(U=d[u],[4,this.renderStack(U)]):[3,18];case 16:v.sent(),v.label=17;case 17:return u++,[3,15];case 18:p=0,B=e.inlineLevel,v.label=19;case 19:return p<B.length?(U=B[p],[4,this.renderNode(U)]):[3,22];case 20:v.sent(),v.label=21;case 21:return p++,[3,19];case 22:m=0,C=e.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return m<C.length?(U=C[m],[4,this.renderStack(U)]):[3,26];case 24:v.sent(),v.label=25;case 25:return m++,[3,23];case 26:E=0,S=e.positiveZIndex,v.label=27;case 27:return E<S.length?(U=S[E],[4,this.renderStack(U)]):[3,30];case 28:v.sent(),v.label=29;case 29:return E++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var n=this;e.forEach(function(r,i){var s=Vt(r)?r.start:r;i===0?n.ctx.moveTo(s.x,s.y):n.ctx.lineTo(s.x,s.y),Vt(r)&&n.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},A.prototype.renderRepeat=function(e,n,r,i){this.path(e),this.ctx.fillStyle=n,this.ctx.translate(r,i),this.ctx.fill(),this.ctx.translate(-r,-i)},A.prototype.resizeImage=function(e,n,r){var i;if(e.width===n&&e.height===r)return e;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,a=s.createElement("canvas");a.width=Math.max(1,n),a.height=Math.max(1,r);var c=a.getContext("2d");return c.drawImage(e,0,0,e.width,e.height,0,0,n,r),a},A.prototype.renderBackgroundImage=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c;return Xe(this,function(u){switch(u.label){case 0:n=e.styles.backgroundImage.length-1,r=function(d){var p,B,m,eA,bA,vA,aA,HA,W,C,eA,bA,vA,aA,HA,E,S,U,v,M,F,T,L,N,W,$,eA,gA,wA,aA,HA,WA,bA,vA,mA,re,ZA,$A,Be,me,Te,jA;return Xe(this,function(fe){switch(fe.label){case 0:if(d.type!==0)return[3,5];p=void 0,B=d.url,fe.label=1;case 1:return fe.trys.push([1,3,,4]),[4,i.context.cache.match(B)];case 2:return p=fe.sent(),[3,4];case 3:return fe.sent(),i.context.logger.error("Error loading background-image "+B),[3,4];case 4:return p&&(m=Hf(e,n,[p.width,p.height,p.width/p.height]),eA=m[0],bA=m[1],vA=m[2],aA=m[3],HA=m[4],W=i.ctx.createPattern(i.resizeImage(p,aA,HA),"repeat"),i.renderRepeat(eA,W,bA,vA)),[3,6];case 5:GL(d)?(C=Hf(e,n,[null,null,null]),eA=C[0],bA=C[1],vA=C[2],aA=C[3],HA=C[4],E=NL(d.angle,aA,HA),S=E[0],U=E[1],v=E[2],M=E[3],F=E[4],T=document.createElement("canvas"),T.width=aA,T.height=HA,L=T.getContext("2d"),N=L.createLinearGradient(U,M,v,F),Vm(d.stops,S).forEach(function(it){return N.addColorStop(it.stop,Se(it.color))}),L.fillStyle=N,L.fillRect(0,0,aA,HA),aA>0&&HA>0&&(W=i.ctx.createPattern(T,"repeat"),i.renderRepeat(eA,W,bA,vA))):WL(d)&&($=Hf(e,n,[null,null,null]),eA=$[0],gA=$[1],wA=$[2],aA=$[3],HA=$[4],WA=d.position.length===0?[nf]:d.position,bA=YA(WA[0],aA),vA=YA(WA[WA.length-1],HA),mA=RL(d,bA,vA,aA,HA),re=mA[0],ZA=mA[1],re>0&&ZA>0&&($A=i.ctx.createRadialGradient(gA+bA,wA+vA,0,gA+bA,wA+vA,re),Vm(d.stops,re*2).forEach(function(it){return $A.addColorStop(it.stop,Se(it.color))}),i.path(eA),i.ctx.fillStyle=$A,re!==ZA?(Be=e.bounds.left+.5*e.bounds.width,me=e.bounds.top+.5*e.bounds.height,Te=ZA/re,jA=1/Te,i.ctx.save(),i.ctx.translate(Be,me),i.ctx.transform(1,0,0,Te,0,0),i.ctx.translate(-Be,-me),i.ctx.fillRect(gA,jA*(wA-me)+me,aA,HA*jA),i.ctx.restore()):i.ctx.fill())),fe.label=6;case 6:return n--,[2]}})},i=this,s=0,a=e.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return s<a.length?(c=a[s],[5,r(c)]):[3,4];case 2:u.sent(),u.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,n,r){return rt(this,void 0,void 0,function(){return Xe(this,function(i){return this.path(qw(r,n)),this.ctx.fillStyle=Se(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,n,r,i){return rt(this,void 0,void 0,function(){var s,a;return Xe(this,function(c){switch(c.label){case 0:return n<3?[4,this.renderSolidBorder(e,r,i)]:[3,2];case 1:return c.sent(),[2];case 2:return s=XM(i,r),this.path(s),this.ctx.fillStyle=Se(e),this.ctx.fill(),a=YM(i,r),this.path(a),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,u,d,p=this;return Xe(this,function(B){switch(B.label){case 0:return this.applyEffects(e.getEffects(2)),n=e.container.styles,r=!yr(n.backgroundColor)||n.backgroundImage.length,i=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],s=sD(Yi(n.backgroundClip,0),e.curves),r||n.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),yr(n.backgroundColor)||(this.ctx.fillStyle=Se(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(m){p.ctx.save();var C=nl(e.curves),E=m.inset?0:nD,S=$M(C,-E+(m.inset?1:-1)*m.spread.number,(m.inset?1:-1)*m.spread.number,m.spread.number*(m.inset?-2:2),m.spread.number*(m.inset?-2:2));m.inset?(p.path(C),p.ctx.clip(),p.mask(S)):(p.mask(C),p.ctx.clip(),p.path(S)),p.ctx.shadowOffsetX=m.offsetX.number+E,p.ctx.shadowOffsetY=m.offsetY.number,p.ctx.shadowColor=Se(m.color),p.ctx.shadowBlur=m.blur.number,p.ctx.fillStyle=m.inset?Se(m.color):"rgba(0,0,0,1)",p.ctx.fill(),p.ctx.restore()}),B.label=2;case 2:a=0,c=0,u=i,B.label=3;case 3:return c<u.length?(d=u[c],d.style!==0&&!yr(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return B.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,3)];case 6:return B.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,a,e.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,a,e.curves)];case 10:B.sent(),B.label=11;case 11:a++,B.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,n,r,i,s){return rt(this,void 0,void 0,function(){var a,c,u,d,p,B,m,C,E,S,U,v,M,F,T,L,T,L;return Xe(this,function(N){return this.ctx.save(),a=zM(i,r),c=qw(i,r),s===2&&(this.path(c),this.ctx.clip()),Vt(c[0])?(u=c[0].start.x,d=c[0].start.y):(u=c[0].x,d=c[0].y),Vt(c[1])?(p=c[1].end.x,B=c[1].end.y):(p=c[1].x,B=c[1].y),r===0||r===2?m=Math.abs(u-p):m=Math.abs(d-B),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(c.slice(0,2)),C=n<3?n*3:n*2,E=n<3?n*2:n,s===3&&(C=n,E=n),S=!0,m<=C*2?S=!1:m<=C*2+E?(U=m/(2*C+E),C*=U,E*=U):(v=Math.floor((m+E)/(C+E)),M=(m-v*C)/(v-1),F=(m-(v+1)*C)/v,E=F<=0||Math.abs(E-M)<Math.abs(E-F)?M:F),S&&(s===3?this.ctx.setLineDash([0,C+E]):this.ctx.setLineDash([C,E])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Se(e),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Vt(c[0])&&(T=c[3],L=c[0],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke()),Vt(c[1])&&(T=c[1],L=c[2],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=JM(e),[4,this.renderStack(n)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},A}(AC),iD=function(t){return t instanceof Fw||t instanceof Ew?!0:t instanceof yf&&t.type!==qa&&t.type!==za},sD=function(t,A){switch(t){case 0:return nl(A);case 2:return KM(A);case 1:default:return rl(A)}},oD=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},aD=["-apple-system","system-ui"],lD=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return aD.indexOf(A)===-1}):t},cD=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n,r;return Xe(this,function(i){switch(i.label){case 0:return n=mf(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,uD(n)];case 1:return r=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(AC),uD=function(t){return new Promise(function(A,e){var n=new Image;n.onload=function(){A(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},fD=function(){function t(A){var e=A.id,n=A.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,ga([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t}(),dD=function(){function t(A,e){var n;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new fD({id:this.instanceName,enabled:A.logging}),this.cache=(n=A.cache)!==null&&n!==void 0?n:new LM(this,A)}return t.instanceCount=1,t}(),hD=function(t,A){return A===void 0&&(A={}),pD(t,A)};typeof window<"u"&&Ww.setContext(window);var pD=function(t,A){return rt(void 0,void 0,void 0,function(){var e,n,r,i,s,a,c,u,d,p,B,m,C,E,S,U,v,M,F,T,N,L,N,W,$,eA,gA,wA,aA,HA,WA,bA,vA,mA,re,ZA,$A,Be,me,Te;return Xe(this,function(jA){switch(jA.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(n=e.defaultView,!n)throw new Error("Document is not attached to a Window");return r={allowTaint:(W=A.allowTaint)!==null&&W!==void 0?W:!1,imageTimeout:($=A.imageTimeout)!==null&&$!==void 0?$:15e3,proxy:A.proxy,useCORS:(eA=A.useCORS)!==null&&eA!==void 0?eA:!1},i=Mu({logging:(gA=A.logging)!==null&&gA!==void 0?gA:!0,cache:A.cache},r),s={windowWidth:(wA=A.windowWidth)!==null&&wA!==void 0?wA:n.innerWidth,windowHeight:(aA=A.windowHeight)!==null&&aA!==void 0?aA:n.innerHeight,scrollX:(HA=A.scrollX)!==null&&HA!==void 0?HA:n.pageXOffset,scrollY:(WA=A.scrollY)!==null&&WA!==void 0?WA:n.pageYOffset},a=new Dn(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),c=new dD(i,a),u=(bA=A.foreignObjectRendering)!==null&&bA!==void 0?bA:!1,d={allowTaint:(vA=A.allowTaint)!==null&&vA!==void 0?vA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},c.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),p=new Pw(c,t,d),B=p.clonedReferenceElement,B?[4,p.toIFrame(e,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=jA.sent(),C=Ef(B)||gM(B)?$x(B.ownerDocument):Ba(c,B),E=C.width,S=C.height,U=C.left,v=C.top,M=gD(c,B,A.backgroundColor),F={canvas:A.canvas,backgroundColor:M,scale:(re=(mA=A.scale)!==null&&mA!==void 0?mA:n.devicePixelRatio)!==null&&re!==void 0?re:1,x:((ZA=A.x)!==null&&ZA!==void 0?ZA:0)+U,y:(($A=A.y)!==null&&$A!==void 0?$A:0)+v,width:(Be=A.width)!==null&&Be!==void 0?Be:Math.ceil(E),height:(me=A.height)!==null&&me!==void 0?me:Math.ceil(S)},u?(c.logger.debug("Document cloned, using foreign object rendering"),N=new cD(c,F),[4,N.render(B)]):[3,3];case 2:return T=jA.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+U+","+v+" with size "+E+"x"+S+" using computed rendering"),c.logger.debug("Starting DOM parsing"),L=vw(c,B),M===L.styles.backgroundColor&&(L.styles.backgroundColor=Nn.TRANSPARENT),c.logger.debug("Starting renderer for element at "+F.x+","+F.y+" with size "+F.width+"x"+F.height),N=new rD(c,F),[4,N.render(L)];case 4:T=jA.sent(),jA.label=5;case 5:return(!((Te=A.removeContainer)!==null&&Te!==void 0)||Te)&&(Pw.destroy(m)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,T]}})})},gD=function(t,A,e){var n=A.ownerDocument,r=n.documentElement?Zs(t,getComputedStyle(n.documentElement).backgroundColor):Nn.TRANSPARENT,i=n.body?Zs(t,getComputedStyle(n.body).backgroundColor):Nn.TRANSPARENT,s=typeof e=="string"?Zs(t,e):e===null?Nn.TRANSPARENT:4294967295;return A===n.documentElement?yr(r)?yr(i)?s:i:r:s};const BD=h.defineComponent({__name:"dom-renderer",props:{modelValue:{type:String,default:""},fixedWidth:{type:Number,default:0},renderUpdates:{type:Boolean,default:!1},exportToSvg:{type:Boolean,default:!1},debug:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=h.ref(),r=h.ref(""),i=h.ref();async function s(){if(n.value){const c=n.value,d=(await hD(c.firstElementChild,{backgroundColor:"rgba(0, 0, 0, 0)",scale:1,width:c.offsetWidth,height:c.offsetHeight})).toDataURL();if(A("update:modelValue",d),e.debug){const p=new Image;p.src=d,document.body.appendChild(p)}return d}return""}const a=Ds.debounce(async()=>{r.value=await s()},300,{trailing:!0,leading:!1});return h.onMounted(()=>{const c=n.value;e.renderUpdates&&(i.value=new MutationObserver(async u=>{a()}),i.value.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),setTimeout(()=>{a()},500)}),(c,u)=>(h.openBlock(),h.createElementBlock("div",{class:h.normalizeClass(["dom-renderer",{"off-screen":!t.debug}]),ref_key:"renderer",ref:n,style:h.normalizeStyle(t.fixedWidth>0?{width:`${t.fixedWidth}px`}:{})},[h.renderSlot(c.$slots,"default")],6))}}),mD={class:"link-sharing"},wD={key:0,class:"link-sharing__links container"},CD={class:"row"},yD={key:0,class:"col-12 col-md-6"},QD=["href"],ED={class:"caption"},FD={key:1,class:"col-12 col-md-6"},UD=["href"],bD={class:"caption"},vD={key:2,class:"col-12 col-md-6"},ID={class:"caption"},SD={key:3,class:"col-12 col-md-6"},TD=["href"],xD={class:"caption"},HD={key:4,class:"col-12 col-md-6"},LD=["href"],_D={class:"caption"},OD={key:5,class:"col-12 col-md-6"},MD=["onClick"],DD={class:"caption"},kD={key:6,class:"col-12 col-md-6"},ND=["href"],RD={class:"caption"},KD={key:1,class:"link-sharing__instructions pt-5"},VD={class:"row"},PD={class:"col-12 text-center py-0"},GD={class:"mb-5"},WD=t=>t.replace(/<(?:.|\n)*?>/gm,""),$D=h.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,x:!0}}},setup(t){const A=t,e=h.ref(!1),n=h.computed(()=>encodeURIComponent(A.url));h.computed(()=>encodeURIComponent(A.media));const r=h.computed(()=>WD(A.text)),i=h.computed(()=>Boolean(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));function s(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=A.url,a.select(),document.execCommand("copy"),document.body.removeChild(a)}return(a,c)=>{const u=h.resolveComponent("svg-icon");return h.openBlock(),h.createElementBlock("div",mD,[e.value?(h.openBlock(),h.createElementBlock("div",KD,[h.createElementVNode("div",VD,[h.createElementVNode("div",PD,[h.createElementVNode("div",GD,[h.createElementVNode("p",null,h.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),h.createElementVNode("p",null,[h.createElementVNode("strong",null,h.toDisplayString(t.hashtags),1)])])])])])):(h.openBlock(),h.createElementBlock("div",wD,[h.createElementVNode("div",CD,[t.services.facebook?(h.openBlock(),h.createElementBlock("div",yD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"facebook"}),h.createElementVNode("span",ED,h.toDisplayString(a.$t("sharing.facebook")),1)],8,QD)])):h.createCommentVNode("",!0),t.services.x?(h.openBlock(),h.createElementBlock("div",FD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://x.com/share?text=${t.subject}&url=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"x"}),h.createElementVNode("span",bD,h.toDisplayString(a.$t("sharing.x")),1)],8,UD)])):h.createCommentVNode("",!0),t.services.instagram?(h.openBlock(),h.createElementBlock("div",vD,[h.createElementVNode("button",{class:"link-sharing__link btn btn-primary",onClick:c[0]||(c[0]=h.withModifiers(d=>e.value=!e.value,["prevent"])),target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"instagram"}),h.createElementVNode("span",ID,h.toDisplayString(a.$t("sharing.instagram")),1)])])):h.createCommentVNode("",!0),t.services.linkedin?(h.openBlock(),h.createElementBlock("div",SD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${h.unref(n)}&title=${t.subject}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"linkedin"}),h.createElementVNode("span",xD,h.toDisplayString(a.$t("sharing.linkedin")),1)],8,TD)])):h.createCommentVNode("",!0),t.services.whatsapp&&h.unref(i)?(h.openBlock(),h.createElementBlock("div",HD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"whatsapp"}),h.createElementVNode("span",_D,h.toDisplayString(a.$t("sharing.whatsapp")),1)],8,LD)])):h.createCommentVNode("",!0),t.services.clipboard?(h.openBlock(),h.createElementBlock("div",OD,[h.createElementVNode("button",{class:"link-sharing__link btn btn-primary",onClick:h.withModifiers(s,["prevent","stop"]),target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"copy"}),h.createElementVNode("span",DD,h.toDisplayString(a.$t("sharing.clipboard")),1)],8,MD)])):h.createCommentVNode("",!0),t.services.mailto?(h.openBlock(),h.createElementBlock("div",kD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${h.unref(r)}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"mail"}),h.createElementVNode("span",RD,h.toDisplayString(a.$t("sharing.mailto")),1)],8,ND)])):h.createCommentVNode("",!0)])]))])}}}),Y2="",JD={class:"base-form"},XD=["onSubmit"],YD=h.defineComponent({__name:"base-form",props:{id:null,name:null,variant:null,disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function A(r){console.log("input",r)}function e(r){console.log("reset",r)}function n(r){console.log("submit",r)}return(r,i)=>(h.openBlock(),h.createElementBlock("div",JD,[h.createElementVNode("form",{ref:"form",onInput:A,onReset:e,onSubmit:h.withModifiers(n,["prevent"])},[h.renderSlot(r.$slots,"default")],40,XD)]))}}),z2="";MA.Accordion=Zy,MA.AccordionItem=Jy,MA.AssetUploader=bx,MA.BaseButton=AQ,MA.BaseCamera=hT,MA.BaseCarousel=ZB,MA.BaseForm=YD,MA.BaseHeadline=Dy,MA.BaseInput=rQ,MA.BaseParagraph=Ny,MA.CheckGroup=gQ,MA.DomRenderer=BD,MA.FileUpload=px,MA.InputCheckbox=fQ,MA.InputColor=ZI,MA.InputDropdown=$S,MA.InputFile=SQ,MA.InputTextarea=aQ,MA.LinkSharing=$D,MA.LoadingSpinner=My,MA.MediaThumbnails=Mx,MA.ProgressSteps=Wx,MA.RadioGroup=yQ,MA.RteEditor=XI,MA.SvgIcon=Ty,MA.UploadGroup=qB,Object.defineProperty(MA,Symbol.toStringTag,{value:"Module"})});
|
|
184
|
+
.`+If+TM+Gw)},HM=function(t,A){var e=t.ownerDocument;if(e){var n=e.createElement("style");n.textContent=A,t.appendChild(n)}},Ww=function(){function t(){}return t.getOrigin=function(A){var e=t._link;return e?(e.href=A,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},t.isSameOrigin=function(A){return t.getOrigin(A)===t._origin},t.setContext=function(A){t._link=A.document.createElement("a"),t._origin=t.getOrigin(A.location.href)},t._origin="about:blank",t}(),LM=function(){function t(A,e){this.context=A,this._options=e,this._cache={}}return t.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Tf(A)||DM(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),e},t.prototype.match=function(A){return this._cache[A]},t.prototype.loadImage=function(A){return rt(this,void 0,void 0,function(){var e,n,r,i,s=this;return Xe(this,function(a){switch(a.label){case 0:return e=Ww.isSameOrigin(A),n=!Sf(A)&&this._options.useCORS===!0&&De.SUPPORT_CORS_IMAGES&&!e,r=!Sf(A)&&!e&&!Tf(A)&&typeof this._options.proxy=="string"&&De.SUPPORT_CORS_XHR&&!n,!e&&this._options.allowTaint===!1&&!Sf(A)&&!Tf(A)&&!r&&!n?[2]:(i=A,r?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(c,u){var d=new Image;d.onload=function(){return c(d)},d.onerror=u,(kM(i)||n)&&(d.crossOrigin="anonymous"),d.src=i,d.complete===!0&&setTimeout(function(){return c(d)},500),s._options.imageTimeout>0&&setTimeout(function(){return u("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},t.prototype.has=function(A){return typeof this._cache[A]<"u"},t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},t.prototype.proxy=function(A){var e=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise(function(i,s){var a=De.SUPPORT_RESPONSE_TYPE?"blob":"text",c=new XMLHttpRequest;c.onload=function(){if(c.status===200)if(a==="text")i(c.response);else{var p=new FileReader;p.addEventListener("load",function(){return i(p.result)},!1),p.addEventListener("error",function(B){return s(B)},!1),p.readAsDataURL(c.response)}else s("Failed to proxy resource "+r+" with status code "+c.status)},c.onerror=s;var u=n.indexOf("?")>-1?"&":"?";if(c.open("GET",""+n+u+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&c instanceof XMLHttpRequest&&(c.responseType=a),e._options.imageTimeout){var d=e._options.imageTimeout;c.timeout=d,c.ontimeout=function(){return s("Timed out ("+d+"ms) proxying "+r)}}c.send()})},t}(),_M=/^data:image\/svg\+xml/i,OM=/^data:image\/.*;base64,/i,MM=/^data:image\/.*/i,DM=function(t){return De.SUPPORT_SVG_DRAWING||!NM(t)},Sf=function(t){return MM.test(t)},kM=function(t){return OM.test(t)},Tf=function(t){return t.substr(0,4)==="blob"},NM=function(t){return t.substr(-3).toLowerCase()==="svg"||_M.test(t)},Z=function(){function t(A,e){this.type=0,this.x=A,this.y=e}return t.prototype.add=function(A,e){return new t(this.x+A,this.y+e)},t}(),Ji=function(t,A,e){return new Z(t.x+(A.x-t.x)*e,t.y+(A.y-t.y)*e)},tl=function(){function t(A,e,n,r){this.type=1,this.start=A,this.startControl=e,this.endControl=n,this.end=r}return t.prototype.subdivide=function(A,e){var n=Ji(this.start,this.startControl,A),r=Ji(this.startControl,this.endControl,A),i=Ji(this.endControl,this.end,A),s=Ji(n,r,A),a=Ji(r,i,A),c=Ji(s,a,A);return e?new t(this.start,n,s,c):new t(c,a,i,this.end)},t.prototype.add=function(A,e){return new t(this.start.add(A,e),this.startControl.add(A,e),this.endControl.add(A,e),this.end.add(A,e))},t.prototype.reverse=function(){return new t(this.end,this.endControl,this.startControl,this.start)},t}(),Vt=function(t){return t.type===1},RM=function(){function t(A){var e=A.styles,n=A.bounds,r=qs(e.borderTopLeftRadius,n.width,n.height),i=r[0],s=r[1],a=qs(e.borderTopRightRadius,n.width,n.height),c=a[0],u=a[1],d=qs(e.borderBottomRightRadius,n.width,n.height),p=d[0],B=d[1],m=qs(e.borderBottomLeftRadius,n.width,n.height),C=m[0],E=m[1],S=[];S.push((i+c)/n.width),S.push((C+p)/n.width),S.push((s+E)/n.height),S.push((u+B)/n.height);var U=Math.max.apply(Math,S);U>1&&(i/=U,s/=U,c/=U,u/=U,p/=U,B/=U,C/=U,E/=U);var v=n.width-c,M=n.height-B,F=n.width-p,T=n.height-E,L=e.borderTopWidth,N=e.borderRightWidth,W=e.borderBottomWidth,$=e.borderLeftWidth,eA=YA(e.paddingTop,A.bounds.width),gA=YA(e.paddingRight,A.bounds.width),wA=YA(e.paddingBottom,A.bounds.width),aA=YA(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?te(n.left+$/3,n.top+L/3,i-$/3,s-L/3,NA.TOP_LEFT):new Z(n.left+$/3,n.top+L/3),this.topRightBorderDoubleOuterBox=i>0||s>0?te(n.left+v,n.top+L/3,c-N/3,u-L/3,NA.TOP_RIGHT):new Z(n.left+n.width-N/3,n.top+L/3),this.bottomRightBorderDoubleOuterBox=p>0||B>0?te(n.left+F,n.top+M,p-N/3,B-W/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/3,n.top+n.height-W/3),this.bottomLeftBorderDoubleOuterBox=C>0||E>0?te(n.left+$/3,n.top+T,C-$/3,E-W/3,NA.BOTTOM_LEFT):new Z(n.left+$/3,n.top+n.height-W/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?te(n.left+$*2/3,n.top+L*2/3,i-$*2/3,s-L*2/3,NA.TOP_LEFT):new Z(n.left+$*2/3,n.top+L*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?te(n.left+v,n.top+L*2/3,c-N*2/3,u-L*2/3,NA.TOP_RIGHT):new Z(n.left+n.width-N*2/3,n.top+L*2/3),this.bottomRightBorderDoubleInnerBox=p>0||B>0?te(n.left+F,n.top+M,p-N*2/3,B-W*2/3,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N*2/3,n.top+n.height-W*2/3),this.bottomLeftBorderDoubleInnerBox=C>0||E>0?te(n.left+$*2/3,n.top+T,C-$*2/3,E-W*2/3,NA.BOTTOM_LEFT):new Z(n.left+$*2/3,n.top+n.height-W*2/3),this.topLeftBorderStroke=i>0||s>0?te(n.left+$/2,n.top+L/2,i-$/2,s-L/2,NA.TOP_LEFT):new Z(n.left+$/2,n.top+L/2),this.topRightBorderStroke=i>0||s>0?te(n.left+v,n.top+L/2,c-N/2,u-L/2,NA.TOP_RIGHT):new Z(n.left+n.width-N/2,n.top+L/2),this.bottomRightBorderStroke=p>0||B>0?te(n.left+F,n.top+M,p-N/2,B-W/2,NA.BOTTOM_RIGHT):new Z(n.left+n.width-N/2,n.top+n.height-W/2),this.bottomLeftBorderStroke=C>0||E>0?te(n.left+$/2,n.top+T,C-$/2,E-W/2,NA.BOTTOM_LEFT):new Z(n.left+$/2,n.top+n.height-W/2),this.topLeftBorderBox=i>0||s>0?te(n.left,n.top,i,s,NA.TOP_LEFT):new Z(n.left,n.top),this.topRightBorderBox=c>0||u>0?te(n.left+v,n.top,c,u,NA.TOP_RIGHT):new Z(n.left+n.width,n.top),this.bottomRightBorderBox=p>0||B>0?te(n.left+F,n.top+M,p,B,NA.BOTTOM_RIGHT):new Z(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=C>0||E>0?te(n.left,n.top+T,C,E,NA.BOTTOM_LEFT):new Z(n.left,n.top+n.height),this.topLeftPaddingBox=i>0||s>0?te(n.left+$,n.top+L,Math.max(0,i-$),Math.max(0,s-L),NA.TOP_LEFT):new Z(n.left+$,n.top+L),this.topRightPaddingBox=c>0||u>0?te(n.left+Math.min(v,n.width-N),n.top+L,v>n.width+N?0:Math.max(0,c-N),Math.max(0,u-L),NA.TOP_RIGHT):new Z(n.left+n.width-N,n.top+L),this.bottomRightPaddingBox=p>0||B>0?te(n.left+Math.min(F,n.width-$),n.top+Math.min(M,n.height-W),Math.max(0,p-N),Math.max(0,B-W),NA.BOTTOM_RIGHT):new Z(n.left+n.width-N,n.top+n.height-W),this.bottomLeftPaddingBox=C>0||E>0?te(n.left+$,n.top+Math.min(T,n.height-W),Math.max(0,C-$),Math.max(0,E-W),NA.BOTTOM_LEFT):new Z(n.left+$,n.top+n.height-W),this.topLeftContentBox=i>0||s>0?te(n.left+$+aA,n.top+L+eA,Math.max(0,i-($+aA)),Math.max(0,s-(L+eA)),NA.TOP_LEFT):new Z(n.left+$+aA,n.top+L+eA),this.topRightContentBox=c>0||u>0?te(n.left+Math.min(v,n.width+$+aA),n.top+L+eA,v>n.width+$+aA?0:c-$+aA,u-(L+eA),NA.TOP_RIGHT):new Z(n.left+n.width-(N+gA),n.top+L+eA),this.bottomRightContentBox=p>0||B>0?te(n.left+Math.min(F,n.width-($+aA)),n.top+Math.min(M,n.height+L+eA),Math.max(0,p-(N+gA)),B-(W+wA),NA.BOTTOM_RIGHT):new Z(n.left+n.width-(N+gA),n.top+n.height-(W+wA)),this.bottomLeftContentBox=C>0||E>0?te(n.left+$+aA,n.top+T,Math.max(0,C-($+aA)),E-(W+wA),NA.BOTTOM_LEFT):new Z(n.left+$+aA,n.top+n.height-(W+wA))}return t}(),NA;(function(t){t[t.TOP_LEFT=0]="TOP_LEFT",t[t.TOP_RIGHT=1]="TOP_RIGHT",t[t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",t[t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(NA||(NA={}));var te=function(t,A,e,n,r){var i=4*((Math.sqrt(2)-1)/3),s=e*i,a=n*i,c=t+e,u=A+n;switch(r){case NA.TOP_LEFT:return new tl(new Z(t,u),new Z(t,u-a),new Z(c-s,A),new Z(c,A));case NA.TOP_RIGHT:return new tl(new Z(t,A),new Z(t+s,A),new Z(c,u-a),new Z(c,u));case NA.BOTTOM_RIGHT:return new tl(new Z(c,A),new Z(c,A+a),new Z(t+s,u),new Z(t,u));case NA.BOTTOM_LEFT:default:return new tl(new Z(c,u),new Z(c-s,u),new Z(t,A+a),new Z(t,A))}},nl=function(t){return[t.topLeftBorderBox,t.topRightBorderBox,t.bottomRightBorderBox,t.bottomLeftBorderBox]},KM=function(t){return[t.topLeftContentBox,t.topRightContentBox,t.bottomRightContentBox,t.bottomLeftContentBox]},rl=function(t){return[t.topLeftPaddingBox,t.topRightPaddingBox,t.bottomRightPaddingBox,t.bottomLeftPaddingBox]},VM=function(){function t(A,e,n){this.offsetX=A,this.offsetY=e,this.matrix=n,this.type=0,this.target=6}return t}(),il=function(){function t(A,e){this.path=A,this.target=e,this.type=1}return t}(),PM=function(){function t(A){this.opacity=A,this.type=2,this.target=6}return t}(),GM=function(t){return t.type===0},$w=function(t){return t.type===1},WM=function(t){return t.type===2},Jw=function(t,A){return t.length===A.length?t.some(function(e,n){return e===A[n]}):!1},$M=function(t,A,e,n,r){return t.map(function(i,s){switch(s){case 0:return i.add(A,e);case 1:return i.add(A+n,e);case 2:return i.add(A+n,e+r);case 3:return i.add(A,e+r)}return i})},Xw=function(){function t(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return t}(),Yw=function(){function t(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new RM(this.container),this.container.styles.opacity<1&&this.effects.push(new PM(this.container.styles.opacity)),this.container.styles.transform!==null){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new VM(n,r,i))}if(this.container.styles.overflowX!==0){var s=nl(this.curves),a=rl(this.curves);Jw(s,a)?this.effects.push(new il(s,6)):(this.effects.push(new il(s,2)),this.effects.push(new il(a,4)))}}return t.prototype.getEffects=function(A){for(var e=[2,3].indexOf(this.container.styles.position)===-1,n=this.parent,r=this.effects.slice(0);n;){var i=n.effects.filter(function(c){return!$w(c)});if(e||n.container.styles.position!==0||!n.parent){if(r.unshift.apply(r,i),e=[2,3].indexOf(n.container.styles.position)===-1,n.container.styles.overflowX!==0){var s=nl(n.curves),a=rl(n.curves);Jw(s,a)||r.unshift(new il(a,6))}}else r.unshift.apply(r,i);n=n.parent}return r.filter(function(c){return Ee(c.target,A)})},t}(),xf=function(t,A,e,n){t.container.elements.forEach(function(r){var i=Ee(r.flags,4),s=Ee(r.flags,2),a=new Yw(r,t);Ee(r.styles.display,2048)&&n.push(a);var c=Ee(r.flags,8)?[]:n;if(i||s){var u=i||r.styles.isPositioned()?e:A,d=new Xw(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var p=r.styles.zIndex.order;if(p<0){var B=0;u.negativeZIndex.some(function(C,E){return p>C.element.container.styles.zIndex.order?(B=E,!1):B>0}),u.negativeZIndex.splice(B,0,d)}else if(p>0){var m=0;u.positiveZIndex.some(function(C,E){return p>=C.element.container.styles.zIndex.order?(m=E+1,!1):m>0}),u.positiveZIndex.splice(m,0,d)}else u.zeroOrAutoZIndexOrTransformedOrOpacity.push(d)}else r.styles.isFloating()?u.nonPositionedFloats.push(d):u.nonPositionedInlineLevel.push(d);xf(a,d,i?d:e,c)}else r.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),xf(a,A,e,c);Ee(r.flags,8)&&zw(r,c)})},zw=function(t,A){for(var e=t instanceof Cf?t.start:1,n=t instanceof Cf?t.reversed:!1,r=0;r<A.length;r++){var i=A[r];i.container instanceof yw&&typeof i.container.value=="number"&&i.container.value!==0&&(e=i.container.value),i.listValue=no(e,i.container.styles.listStyleType,!0),e+=n?-1:1}},JM=function(t){var A=new Yw(t,null),e=new Xw(A),n=[];return xf(A,e,e,n),zw(A.container,n),e},qw=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderBox,t.topLeftPaddingBox,t.topRightBorderBox,t.topRightPaddingBox);case 1:return Pt(t.topRightBorderBox,t.topRightPaddingBox,t.bottomRightBorderBox,t.bottomRightPaddingBox);case 2:return Pt(t.bottomRightBorderBox,t.bottomRightPaddingBox,t.bottomLeftBorderBox,t.bottomLeftPaddingBox);case 3:default:return Pt(t.bottomLeftBorderBox,t.bottomLeftPaddingBox,t.topLeftBorderBox,t.topLeftPaddingBox)}},XM=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox,t.topRightBorderBox,t.topRightBorderDoubleOuterBox);case 1:return Pt(t.topRightBorderBox,t.topRightBorderDoubleOuterBox,t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox);case 2:return Pt(t.bottomRightBorderBox,t.bottomRightBorderDoubleOuterBox,t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox);case 3:default:return Pt(t.bottomLeftBorderBox,t.bottomLeftBorderDoubleOuterBox,t.topLeftBorderBox,t.topLeftBorderDoubleOuterBox)}},YM=function(t,A){switch(A){case 0:return Pt(t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox,t.topRightBorderDoubleInnerBox,t.topRightPaddingBox);case 1:return Pt(t.topRightBorderDoubleInnerBox,t.topRightPaddingBox,t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox);case 2:return Pt(t.bottomRightBorderDoubleInnerBox,t.bottomRightPaddingBox,t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox);case 3:default:return Pt(t.bottomLeftBorderDoubleInnerBox,t.bottomLeftPaddingBox,t.topLeftBorderDoubleInnerBox,t.topLeftPaddingBox)}},zM=function(t,A){switch(A){case 0:return sl(t.topLeftBorderStroke,t.topRightBorderStroke);case 1:return sl(t.topRightBorderStroke,t.bottomRightBorderStroke);case 2:return sl(t.bottomRightBorderStroke,t.bottomLeftBorderStroke);case 3:default:return sl(t.bottomLeftBorderStroke,t.topLeftBorderStroke)}},sl=function(t,A){var e=[];return Vt(t)?e.push(t.subdivide(.5,!1)):e.push(t),Vt(A)?e.push(A.subdivide(.5,!0)):e.push(A),e},Pt=function(t,A,e,n){var r=[];return Vt(t)?r.push(t.subdivide(.5,!1)):r.push(t),Vt(e)?r.push(e.subdivide(.5,!0)):r.push(e),Vt(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),Vt(A)?r.push(A.subdivide(.5,!1).reverse()):r.push(A),r},Zw=function(t){var A=t.bounds,e=t.styles;return A.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},ol=function(t){var A=t.styles,e=t.bounds,n=YA(A.paddingLeft,e.width),r=YA(A.paddingRight,e.width),i=YA(A.paddingTop,e.width),s=YA(A.paddingBottom,e.width);return e.add(n+A.borderLeftWidth,i+A.borderTopWidth,-(A.borderRightWidth+A.borderLeftWidth+n+r),-(A.borderTopWidth+A.borderBottomWidth+i+s))},qM=function(t,A){return t===0?A.bounds:t===2?ol(A):Zw(A)},ZM=function(t,A){return t===0?A.bounds:t===2?ol(A):Zw(A)},Hf=function(t,A,e){var n=qM(Yi(t.styles.backgroundOrigin,A),t),r=ZM(Yi(t.styles.backgroundClip,A),t),i=jM(Yi(t.styles.backgroundSize,A),e,n),s=i[0],a=i[1],c=qs(Yi(t.styles.backgroundPosition,A),n.width-s,n.height-a),u=AD(Yi(t.styles.backgroundRepeat,A),c,i,n,r),d=Math.round(n.left+c[0]),p=Math.round(n.top+c[1]);return[u,d,p,s,a]},Xi=function(t){return GA(t)&&t.value===Pi.AUTO},al=function(t){return typeof t=="number"},jM=function(t,A,e){var n=A[0],r=A[1],i=A[2],s=t[0],a=t[1];if(!s)return[0,0];if(ge(s)&&a&&ge(a))return[YA(s,e.width),YA(a,e.height)];var c=al(i);if(GA(s)&&(s.value===Pi.CONTAIN||s.value===Pi.COVER)){if(al(i)){var u=e.width/e.height;return u<i!=(s.value===Pi.COVER)?[e.width,e.width/i]:[e.height*i,e.height]}return[e.width,e.height]}var d=al(n),p=al(r),B=d||p;if(Xi(s)&&(!a||Xi(a))){if(d&&p)return[n,r];if(!c&&!B)return[e.width,e.height];if(B&&c){var m=d?n:r*i,C=p?r:n/i;return[m,C]}var E=d?n:e.width,S=p?r:e.height;return[E,S]}if(c){var U=0,v=0;return ge(s)?U=YA(s,e.width):ge(a)&&(v=YA(a,e.height)),Xi(s)?U=v*i:(!a||Xi(a))&&(v=U/i),[U,v]}var M=null,F=null;if(ge(s)?M=YA(s,e.width):a&&ge(a)&&(F=YA(a,e.height)),M!==null&&(!a||Xi(a))&&(F=d&&p?M/n*r:e.height),F!==null&&Xi(s)&&(M=d&&p?F/r*n:e.width),M!==null&&F!==null)return[M,F];throw new Error("Unable to calculate background-size for element")},Yi=function(t,A){var e=t[A];return typeof e>"u"?t[0]:e},AD=function(t,A,e,n,r){var i=A[0],s=A[1],a=e[0],c=e[1];switch(t){case 2:return[new Z(Math.round(n.left),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(n.top+s)),new Z(Math.round(n.left+n.width),Math.round(c+n.top+s)),new Z(Math.round(n.left),Math.round(c+n.top+s))];case 3:return[new Z(Math.round(n.left+i),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.top)),new Z(Math.round(n.left+i+a),Math.round(n.height+n.top)),new Z(Math.round(n.left+i),Math.round(n.height+n.top))];case 1:return[new Z(Math.round(n.left+i),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s)),new Z(Math.round(n.left+i+a),Math.round(n.top+s+c)),new Z(Math.round(n.left+i),Math.round(n.top+s+c))];default:return[new Z(Math.round(r.left),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.top)),new Z(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Z(Math.round(r.left),Math.round(r.height+r.top))]}},eD="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",jw="Hidden Text",tD=function(){function t(A){this._data={},this._document=A}return t.prototype.parseMetrics=function(A,e){var n=this._document.createElement("div"),r=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;n.style.visibility="hidden",n.style.fontFamily=A,n.style.fontSize=e,n.style.margin="0",n.style.padding="0",n.style.whiteSpace="nowrap",s.appendChild(n),r.src=eD,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",i.style.fontFamily=A,i.style.fontSize=e,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(jw)),n.appendChild(i),n.appendChild(r);var a=r.offsetTop-i.offsetTop+2;n.removeChild(i),n.appendChild(this._document.createTextNode(jw)),n.style.lineHeight="normal",r.style.verticalAlign="super";var c=r.offsetTop-n.offsetTop+2;return s.removeChild(n),{baseline:a,middle:c}},t.prototype.getMetrics=function(A,e){var n=A+" "+e;return typeof this._data[n]>"u"&&(this._data[n]=this.parseMetrics(A,e)),this._data[n]},t}(),AC=function(){function t(A,e){this.context=A,this.options=e}return t}(),nD=1e4,rD=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r._activeEffects=[],r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),n.canvas||(r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px"),r.fontMetrics=new tD(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+n.width+"x"+n.height+") with scale "+n.scale),r}return A.prototype.applyEffects=function(e){for(var n=this;this._activeEffects.length;)this.popEffect();e.forEach(function(r){return n.applyEffect(r)})},A.prototype.applyEffect=function(e){this.ctx.save(),WM(e)&&(this.ctx.globalAlpha=e.opacity),GM(e)&&(this.ctx.translate(e.offsetX,e.offsetY),this.ctx.transform(e.matrix[0],e.matrix[1],e.matrix[2],e.matrix[3],e.matrix[4],e.matrix[5]),this.ctx.translate(-e.offsetX,-e.offsetY)),$w(e)&&(this.path(e.path),this.ctx.clip()),this._activeEffects.push(e)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return n=e.element.container.styles,n.isVisible()?[4,this.renderStackContent(e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(e){return rt(this,void 0,void 0,function(){return Xe(this,function(n){switch(n.label){case 0:if(Ee(e.container.flags,16))debugger;return e.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(e)]:[3,3];case 1:return n.sent(),[4,this.renderNodeContent(e)];case 2:n.sent(),n.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(e,n,r){var i=this;if(n===0)this.ctx.fillText(e.text,e.bounds.left,e.bounds.top+r);else{var s=wf(e.text);s.reduce(function(a,c){return i.ctx.fillText(c,a,e.bounds.top+r),a+i.ctx.measureText(c).width},e.bounds.left)}},A.prototype.createFontStyle=function(e){var n=e.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),r=lD(e.fontFamily).join(", "),i=zs(e.fontSize)?""+e.fontSize.number+e.fontSize.unit:e.fontSize.number+"px";return[[e.fontStyle,n,e.fontWeight,i,r].join(" "),r,i]},A.prototype.renderTextNode=function(e,n){return rt(this,void 0,void 0,function(){var r,i,s,a,c,u,d,p,B=this;return Xe(this,function(m){return r=this.createFontStyle(n),i=r[0],s=r[1],a=r[2],this.ctx.font=i,this.ctx.direction=n.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",c=this.fontMetrics.getMetrics(s,a),u=c.baseline,d=c.middle,p=n.paintOrder,e.textBounds.forEach(function(C){p.forEach(function(E){switch(E){case 0:B.ctx.fillStyle=Se(n.color),B.renderTextWithLetterSpacing(C,n.letterSpacing,u);var S=n.textShadow;S.length&&C.text.trim().length&&(S.slice(0).reverse().forEach(function(U){B.ctx.shadowColor=Se(U.color),B.ctx.shadowOffsetX=U.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=U.offsetY.number*B.options.scale,B.ctx.shadowBlur=U.blur.number,B.renderTextWithLetterSpacing(C,n.letterSpacing,u)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),n.textDecorationLine.length&&(B.ctx.fillStyle=Se(n.textDecorationColor||n.color),n.textDecorationLine.forEach(function(U){switch(U){case 1:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top+u),C.bounds.width,1);break;case 2:B.ctx.fillRect(C.bounds.left,Math.round(C.bounds.top),C.bounds.width,1);break;case 3:B.ctx.fillRect(C.bounds.left,Math.ceil(C.bounds.top+d),C.bounds.width,1);break}}));break;case 1:n.webkitTextStrokeWidth&&C.text.trim().length&&(B.ctx.strokeStyle=Se(n.webkitTextStrokeColor),B.ctx.lineWidth=n.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(C.text,C.bounds.left,C.bounds.top+u)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(e,n,r){if(r&&e.intrinsicWidth>0&&e.intrinsicHeight>0){var i=ol(e),s=rl(n);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(r,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,v,v,u,d,p,B,F,m,C,T,E,S,U,v,M,F,T;return Xe(this,function(L){switch(L.label){case 0:this.applyEffects(e.getEffects(4)),n=e.container,r=e.curves,i=n.styles,s=0,a=n.textNodes,L.label=1;case 1:return s<a.length?(c=a[s],[4,this.renderTextNode(c,i)]):[3,4];case 2:L.sent(),L.label=3;case 3:return s++,[3,1];case 4:if(!(n instanceof mw))return[3,8];L.label=5;case 5:return L.trys.push([5,7,,8]),[4,this.context.cache.match(n.src)];case 6:return v=L.sent(),this.renderReplacedElement(n,r,v),[3,8];case 7:return L.sent(),this.context.logger.error("Error loading image "+n.src),[3,8];case 8:if(n instanceof ww&&this.renderReplacedElement(n,r,n.canvas),!(n instanceof Cw))return[3,12];L.label=9;case 9:return L.trys.push([9,11,,12]),[4,this.context.cache.match(n.svg)];case 10:return v=L.sent(),this.renderReplacedElement(n,r,v),[3,12];case 11:return L.sent(),this.context.logger.error("Error loading svg "+n.svg.substring(0,255)),[3,12];case 12:return n instanceof Uw&&n.tree?(u=new A(this.context,{scale:this.options.scale,backgroundColor:n.backgroundColor,x:0,y:0,width:n.width,height:n.height}),[4,u.render(n.tree)]):[3,14];case 13:d=L.sent(),n.width&&n.height&&this.ctx.drawImage(d,0,0,n.width,n.height,n.bounds.left,n.bounds.top,n.bounds.width,n.bounds.height),L.label=14;case 14:if(n instanceof yf&&(p=Math.min(n.bounds.width,n.bounds.height),n.type===za?n.checked&&(this.ctx.save(),this.path([new Z(n.bounds.left+p*.39363,n.bounds.top+p*.79),new Z(n.bounds.left+p*.16,n.bounds.top+p*.5549),new Z(n.bounds.left+p*.27347,n.bounds.top+p*.44071),new Z(n.bounds.left+p*.39694,n.bounds.top+p*.5649),new Z(n.bounds.left+p*.72983,n.bounds.top+p*.23),new Z(n.bounds.left+p*.84,n.bounds.top+p*.34085),new Z(n.bounds.left+p*.39363,n.bounds.top+p*.79)]),this.ctx.fillStyle=Se(Qw),this.ctx.fill(),this.ctx.restore()):n.type===qa&&n.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(n.bounds.left+p/2,n.bounds.top+p/2,p/4,0,Math.PI*2,!0),this.ctx.fillStyle=Se(Qw),this.ctx.fill(),this.ctx.restore())),iD(n)&&n.value.length){switch(B=this.createFontStyle(i),F=B[0],m=B[1],C=this.fontMetrics.getMetrics(F,m).baseline,this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=oD(n.styles.textAlign),T=ol(n),E=0,n.styles.textAlign){case 1:E+=T.width/2;break;case 2:E+=T.width;break}S=T.add(E,0,0,-T.height/2+1),this.ctx.save(),this.path([new Z(T.left,T.top),new Z(T.left+T.width,T.top),new Z(T.left+T.width,T.top+T.height),new Z(T.left,T.top+T.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new eo(n.value,S),i.letterSpacing,C),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Ee(n.styles.display,2048))return[3,20];if(n.styles.listStyleImage===null)return[3,19];if(U=n.styles.listStyleImage,U.type!==0)return[3,18];v=void 0,M=U.url,L.label=15;case 15:return L.trys.push([15,17,,18]),[4,this.context.cache.match(M)];case 16:return v=L.sent(),this.ctx.drawImage(v,n.bounds.left-(v.width+10),n.bounds.top),[3,18];case 17:return L.sent(),this.context.logger.error("Error loading list-style-image "+M),[3,18];case 18:return[3,20];case 19:e.listValue&&n.styles.listStyleType!==-1&&(F=this.createFontStyle(i)[0],this.ctx.font=F,this.ctx.fillStyle=Se(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",T=new Dn(n.bounds.left,n.bounds.top+YA(n.styles.paddingTop,n.bounds.width),n.bounds.width,jm(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new eo(e.listValue,T),i.letterSpacing,jm(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),L.label=20;case 20:return[2]}})})},A.prototype.renderStackContent=function(e){return rt(this,void 0,void 0,function(){var n,r,U,i,s,U,a,c,U,u,d,U,p,B,U,m,C,U,E,S,U;return Xe(this,function(v){switch(v.label){case 0:if(Ee(e.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(e.element)];case 1:v.sent(),n=0,r=e.negativeZIndex,v.label=2;case 2:return n<r.length?(U=r[n],[4,this.renderStack(U)]):[3,5];case 3:v.sent(),v.label=4;case 4:return n++,[3,2];case 5:return[4,this.renderNodeContent(e.element)];case 6:v.sent(),i=0,s=e.nonInlineLevel,v.label=7;case 7:return i<s.length?(U=s[i],[4,this.renderNode(U)]):[3,10];case 8:v.sent(),v.label=9;case 9:return i++,[3,7];case 10:a=0,c=e.nonPositionedFloats,v.label=11;case 11:return a<c.length?(U=c[a],[4,this.renderStack(U)]):[3,14];case 12:v.sent(),v.label=13;case 13:return a++,[3,11];case 14:u=0,d=e.nonPositionedInlineLevel,v.label=15;case 15:return u<d.length?(U=d[u],[4,this.renderStack(U)]):[3,18];case 16:v.sent(),v.label=17;case 17:return u++,[3,15];case 18:p=0,B=e.inlineLevel,v.label=19;case 19:return p<B.length?(U=B[p],[4,this.renderNode(U)]):[3,22];case 20:v.sent(),v.label=21;case 21:return p++,[3,19];case 22:m=0,C=e.zeroOrAutoZIndexOrTransformedOrOpacity,v.label=23;case 23:return m<C.length?(U=C[m],[4,this.renderStack(U)]):[3,26];case 24:v.sent(),v.label=25;case 25:return m++,[3,23];case 26:E=0,S=e.positiveZIndex,v.label=27;case 27:return E<S.length?(U=S[E],[4,this.renderStack(U)]):[3,30];case 28:v.sent(),v.label=29;case 29:return E++,[3,27];case 30:return[2]}})})},A.prototype.mask=function(e){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(e.slice(0).reverse()),this.ctx.closePath()},A.prototype.path=function(e){this.ctx.beginPath(),this.formatPath(e),this.ctx.closePath()},A.prototype.formatPath=function(e){var n=this;e.forEach(function(r,i){var s=Vt(r)?r.start:r;i===0?n.ctx.moveTo(s.x,s.y):n.ctx.lineTo(s.x,s.y),Vt(r)&&n.ctx.bezierCurveTo(r.startControl.x,r.startControl.y,r.endControl.x,r.endControl.y,r.end.x,r.end.y)})},A.prototype.renderRepeat=function(e,n,r,i){this.path(e),this.ctx.fillStyle=n,this.ctx.translate(r,i),this.ctx.fill(),this.ctx.translate(-r,-i)},A.prototype.resizeImage=function(e,n,r){var i;if(e.width===n&&e.height===r)return e;var s=(i=this.canvas.ownerDocument)!==null&&i!==void 0?i:document,a=s.createElement("canvas");a.width=Math.max(1,n),a.height=Math.max(1,r);var c=a.getContext("2d");return c.drawImage(e,0,0,e.width,e.height,0,0,n,r),a},A.prototype.renderBackgroundImage=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c;return Xe(this,function(u){switch(u.label){case 0:n=e.styles.backgroundImage.length-1,r=function(d){var p,B,m,eA,bA,vA,aA,HA,W,C,eA,bA,vA,aA,HA,E,S,U,v,M,F,T,L,N,W,$,eA,gA,wA,aA,HA,WA,bA,vA,mA,re,ZA,$A,Be,me,Te,jA;return Xe(this,function(fe){switch(fe.label){case 0:if(d.type!==0)return[3,5];p=void 0,B=d.url,fe.label=1;case 1:return fe.trys.push([1,3,,4]),[4,i.context.cache.match(B)];case 2:return p=fe.sent(),[3,4];case 3:return fe.sent(),i.context.logger.error("Error loading background-image "+B),[3,4];case 4:return p&&(m=Hf(e,n,[p.width,p.height,p.width/p.height]),eA=m[0],bA=m[1],vA=m[2],aA=m[3],HA=m[4],W=i.ctx.createPattern(i.resizeImage(p,aA,HA),"repeat"),i.renderRepeat(eA,W,bA,vA)),[3,6];case 5:GL(d)?(C=Hf(e,n,[null,null,null]),eA=C[0],bA=C[1],vA=C[2],aA=C[3],HA=C[4],E=NL(d.angle,aA,HA),S=E[0],U=E[1],v=E[2],M=E[3],F=E[4],T=document.createElement("canvas"),T.width=aA,T.height=HA,L=T.getContext("2d"),N=L.createLinearGradient(U,M,v,F),Vm(d.stops,S).forEach(function(it){return N.addColorStop(it.stop,Se(it.color))}),L.fillStyle=N,L.fillRect(0,0,aA,HA),aA>0&&HA>0&&(W=i.ctx.createPattern(T,"repeat"),i.renderRepeat(eA,W,bA,vA))):WL(d)&&($=Hf(e,n,[null,null,null]),eA=$[0],gA=$[1],wA=$[2],aA=$[3],HA=$[4],WA=d.position.length===0?[nf]:d.position,bA=YA(WA[0],aA),vA=YA(WA[WA.length-1],HA),mA=RL(d,bA,vA,aA,HA),re=mA[0],ZA=mA[1],re>0&&ZA>0&&($A=i.ctx.createRadialGradient(gA+bA,wA+vA,0,gA+bA,wA+vA,re),Vm(d.stops,re*2).forEach(function(it){return $A.addColorStop(it.stop,Se(it.color))}),i.path(eA),i.ctx.fillStyle=$A,re!==ZA?(Be=e.bounds.left+.5*e.bounds.width,me=e.bounds.top+.5*e.bounds.height,Te=ZA/re,jA=1/Te,i.ctx.save(),i.ctx.translate(Be,me),i.ctx.transform(1,0,0,Te,0,0),i.ctx.translate(-Be,-me),i.ctx.fillRect(gA,jA*(wA-me)+me,aA,HA*jA),i.ctx.restore()):i.ctx.fill())),fe.label=6;case 6:return n--,[2]}})},i=this,s=0,a=e.styles.backgroundImage.slice(0).reverse(),u.label=1;case 1:return s<a.length?(c=a[s],[5,r(c)]):[3,4];case 2:u.sent(),u.label=3;case 3:return s++,[3,1];case 4:return[2]}})})},A.prototype.renderSolidBorder=function(e,n,r){return rt(this,void 0,void 0,function(){return Xe(this,function(i){return this.path(qw(r,n)),this.ctx.fillStyle=Se(e),this.ctx.fill(),[2]})})},A.prototype.renderDoubleBorder=function(e,n,r,i){return rt(this,void 0,void 0,function(){var s,a;return Xe(this,function(c){switch(c.label){case 0:return n<3?[4,this.renderSolidBorder(e,r,i)]:[3,2];case 1:return c.sent(),[2];case 2:return s=XM(i,r),this.path(s),this.ctx.fillStyle=Se(e),this.ctx.fill(),a=YM(i,r),this.path(a),this.ctx.fill(),[2]}})})},A.prototype.renderNodeBackgroundAndBorders=function(e){return rt(this,void 0,void 0,function(){var n,r,i,s,a,c,u,d,p=this;return Xe(this,function(B){switch(B.label){case 0:return this.applyEffects(e.getEffects(2)),n=e.container.styles,r=!yr(n.backgroundColor)||n.backgroundImage.length,i=[{style:n.borderTopStyle,color:n.borderTopColor,width:n.borderTopWidth},{style:n.borderRightStyle,color:n.borderRightColor,width:n.borderRightWidth},{style:n.borderBottomStyle,color:n.borderBottomColor,width:n.borderBottomWidth},{style:n.borderLeftStyle,color:n.borderLeftColor,width:n.borderLeftWidth}],s=sD(Yi(n.backgroundClip,0),e.curves),r||n.boxShadow.length?(this.ctx.save(),this.path(s),this.ctx.clip(),yr(n.backgroundColor)||(this.ctx.fillStyle=Se(n.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(e.container)]):[3,2];case 1:B.sent(),this.ctx.restore(),n.boxShadow.slice(0).reverse().forEach(function(m){p.ctx.save();var C=nl(e.curves),E=m.inset?0:nD,S=$M(C,-E+(m.inset?1:-1)*m.spread.number,(m.inset?1:-1)*m.spread.number,m.spread.number*(m.inset?-2:2),m.spread.number*(m.inset?-2:2));m.inset?(p.path(C),p.ctx.clip(),p.mask(S)):(p.mask(C),p.ctx.clip(),p.path(S)),p.ctx.shadowOffsetX=m.offsetX.number+E,p.ctx.shadowOffsetY=m.offsetY.number,p.ctx.shadowColor=Se(m.color),p.ctx.shadowBlur=m.blur.number,p.ctx.fillStyle=m.inset?Se(m.color):"rgba(0,0,0,1)",p.ctx.fill(),p.ctx.restore()}),B.label=2;case 2:a=0,c=0,u=i,B.label=3;case 3:return c<u.length?(d=u[c],d.style!==0&&!yr(d.color)&&d.width>0?d.style!==2?[3,5]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,2)]:[3,11]):[3,13];case 4:return B.sent(),[3,11];case 5:return d.style!==3?[3,7]:[4,this.renderDashedDottedBorder(d.color,d.width,a,e.curves,3)];case 6:return B.sent(),[3,11];case 7:return d.style!==4?[3,9]:[4,this.renderDoubleBorder(d.color,d.width,a,e.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(d.color,a,e.curves)];case 10:B.sent(),B.label=11;case 11:a++,B.label=12;case 12:return c++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(e,n,r,i,s){return rt(this,void 0,void 0,function(){var a,c,u,d,p,B,m,C,E,S,U,v,M,F,T,L,T,L;return Xe(this,function(N){return this.ctx.save(),a=zM(i,r),c=qw(i,r),s===2&&(this.path(c),this.ctx.clip()),Vt(c[0])?(u=c[0].start.x,d=c[0].start.y):(u=c[0].x,d=c[0].y),Vt(c[1])?(p=c[1].end.x,B=c[1].end.y):(p=c[1].x,B=c[1].y),r===0||r===2?m=Math.abs(u-p):m=Math.abs(d-B),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(c.slice(0,2)),C=n<3?n*3:n*2,E=n<3?n*2:n,s===3&&(C=n,E=n),S=!0,m<=C*2?S=!1:m<=C*2+E?(U=m/(2*C+E),C*=U,E*=U):(v=Math.floor((m+E)/(C+E)),M=(m-v*C)/(v-1),F=(m-(v+1)*C)/v,E=F<=0||Math.abs(E-M)<Math.abs(E-F)?M:F),S&&(s===3?this.ctx.setLineDash([0,C+E]):this.ctx.setLineDash([C,E])),s===3?(this.ctx.lineCap="round",this.ctx.lineWidth=n):this.ctx.lineWidth=n*2+1.1,this.ctx.strokeStyle=Se(e),this.ctx.stroke(),this.ctx.setLineDash([]),s===2&&(Vt(c[0])&&(T=c[3],L=c[0],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke()),Vt(c[1])&&(T=c[1],L=c[2],this.ctx.beginPath(),this.formatPath([new Z(T.end.x,T.end.y),new Z(L.start.x,L.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n;return Xe(this,function(r){switch(r.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),n=JM(e),[4,this.renderStack(n)];case 1:return r.sent(),this.applyEffects([]),[2,this.canvas]}})})},A}(AC),iD=function(t){return t instanceof Fw||t instanceof Ew?!0:t instanceof yf&&t.type!==qa&&t.type!==za},sD=function(t,A){switch(t){case 0:return nl(A);case 2:return KM(A);case 1:default:return rl(A)}},oD=function(t){switch(t){case 1:return"center";case 2:return"right";case 0:default:return"left"}},aD=["-apple-system","system-ui"],lD=function(t){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?t.filter(function(A){return aD.indexOf(A)===-1}):t},cD=function(t){sn(A,t);function A(e,n){var r=t.call(this,e,n)||this;return r.canvas=n.canvas?n.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=n,r.canvas.width=Math.floor(n.width*n.scale),r.canvas.height=Math.floor(n.height*n.scale),r.canvas.style.width=n.width+"px",r.canvas.style.height=n.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-n.x,-n.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+n.width+"x"+n.height+" at "+n.x+","+n.y+") with scale "+n.scale),r}return A.prototype.render=function(e){return rt(this,void 0,void 0,function(){var n,r;return Xe(this,function(i){switch(i.label){case 0:return n=mf(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,e),[4,uD(n)];case 1:return r=i.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Se(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(r,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},A}(AC),uD=function(t){return new Promise(function(A,e){var n=new Image;n.onload=function(){A(n)},n.onerror=e,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(t))})},fD=function(){function t(A){var e=A.id,n=A.enabled;this.id=e,this.enabled=n,this.start=Date.now()}return t.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.getTime=function(){return Date.now()-this.start},t.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&typeof console.info=="function"&&console.info.apply(console,ga([this.id,this.getTime()+"ms"],A))},t.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&typeof console.error=="function"?console.error.apply(console,ga([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},t.instances={},t}(),dD=function(){function t(A,e){var n;this.windowBounds=e,this.instanceName="#"+t.instanceCount++,this.logger=new fD({id:this.instanceName,enabled:A.logging}),this.cache=(n=A.cache)!==null&&n!==void 0?n:new LM(this,A)}return t.instanceCount=1,t}(),hD=function(t,A){return A===void 0&&(A={}),pD(t,A)};typeof window<"u"&&Ww.setContext(window);var pD=function(t,A){return rt(void 0,void 0,void 0,function(){var e,n,r,i,s,a,c,u,d,p,B,m,C,E,S,U,v,M,F,T,N,L,N,W,$,eA,gA,wA,aA,HA,WA,bA,vA,mA,re,ZA,$A,Be,me,Te;return Xe(this,function(jA){switch(jA.label){case 0:if(!t||typeof t!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(e=t.ownerDocument,!e)throw new Error("Element is not attached to a Document");if(n=e.defaultView,!n)throw new Error("Document is not attached to a Window");return r={allowTaint:(W=A.allowTaint)!==null&&W!==void 0?W:!1,imageTimeout:($=A.imageTimeout)!==null&&$!==void 0?$:15e3,proxy:A.proxy,useCORS:(eA=A.useCORS)!==null&&eA!==void 0?eA:!1},i=Mu({logging:(gA=A.logging)!==null&&gA!==void 0?gA:!0,cache:A.cache},r),s={windowWidth:(wA=A.windowWidth)!==null&&wA!==void 0?wA:n.innerWidth,windowHeight:(aA=A.windowHeight)!==null&&aA!==void 0?aA:n.innerHeight,scrollX:(HA=A.scrollX)!==null&&HA!==void 0?HA:n.pageXOffset,scrollY:(WA=A.scrollY)!==null&&WA!==void 0?WA:n.pageYOffset},a=new Dn(s.scrollX,s.scrollY,s.windowWidth,s.windowHeight),c=new dD(i,a),u=(bA=A.foreignObjectRendering)!==null&&bA!==void 0?bA:!1,d={allowTaint:(vA=A.allowTaint)!==null&&vA!==void 0?vA:!1,onclone:A.onclone,ignoreElements:A.ignoreElements,inlineImages:u,copyStyles:u},c.logger.debug("Starting document clone with size "+a.width+"x"+a.height+" scrolled to "+-a.left+","+-a.top),p=new Pw(c,t,d),B=p.clonedReferenceElement,B?[4,p.toIFrame(e,a)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return m=jA.sent(),C=Ef(B)||gM(B)?$x(B.ownerDocument):Ba(c,B),E=C.width,S=C.height,U=C.left,v=C.top,M=gD(c,B,A.backgroundColor),F={canvas:A.canvas,backgroundColor:M,scale:(re=(mA=A.scale)!==null&&mA!==void 0?mA:n.devicePixelRatio)!==null&&re!==void 0?re:1,x:((ZA=A.x)!==null&&ZA!==void 0?ZA:0)+U,y:(($A=A.y)!==null&&$A!==void 0?$A:0)+v,width:(Be=A.width)!==null&&Be!==void 0?Be:Math.ceil(E),height:(me=A.height)!==null&&me!==void 0?me:Math.ceil(S)},u?(c.logger.debug("Document cloned, using foreign object rendering"),N=new cD(c,F),[4,N.render(B)]):[3,3];case 2:return T=jA.sent(),[3,5];case 3:return c.logger.debug("Document cloned, element located at "+U+","+v+" with size "+E+"x"+S+" using computed rendering"),c.logger.debug("Starting DOM parsing"),L=vw(c,B),M===L.styles.backgroundColor&&(L.styles.backgroundColor=Nn.TRANSPARENT),c.logger.debug("Starting renderer for element at "+F.x+","+F.y+" with size "+F.width+"x"+F.height),N=new rD(c,F),[4,N.render(L)];case 4:T=jA.sent(),jA.label=5;case 5:return(!((Te=A.removeContainer)!==null&&Te!==void 0)||Te)&&(Pw.destroy(m)||c.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),c.logger.debug("Finished rendering"),[2,T]}})})},gD=function(t,A,e){var n=A.ownerDocument,r=n.documentElement?Zs(t,getComputedStyle(n.documentElement).backgroundColor):Nn.TRANSPARENT,i=n.body?Zs(t,getComputedStyle(n.body).backgroundColor):Nn.TRANSPARENT,s=typeof e=="string"?Zs(t,e):e===null?Nn.TRANSPARENT:4294967295;return A===n.documentElement?yr(r)?yr(i)?s:i:r:s};const BD=h.defineComponent({__name:"dom-renderer",props:{modelValue:{type:String,default:""},fixedWidth:{type:Number,default:0},renderUpdates:{type:Boolean,default:!1},exportToSvg:{type:Boolean,default:!1},debug:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:A}){const e=t,n=h.ref(),r=h.ref(""),i=h.ref();async function s(){if(n.value){const c=n.value,d=(await hD(c.firstElementChild,{backgroundColor:"rgba(0, 0, 0, 0)",scale:1,width:c.offsetWidth,height:c.offsetHeight})).toDataURL();if(A("update:modelValue",d),e.debug){const p=new Image;p.src=d,document.body.appendChild(p)}return d}return""}const a=Ds.debounce(async()=>{r.value=await s()},300,{trailing:!0,leading:!1});return h.onMounted(()=>{const c=n.value;e.renderUpdates&&(i.value=new MutationObserver(async u=>{a()}),i.value.observe(c,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),setTimeout(()=>{a()},500)}),(c,u)=>(h.openBlock(),h.createElementBlock("div",{class:h.normalizeClass(["dom-renderer",{"off-screen":!t.debug}]),ref_key:"renderer",ref:n,style:h.normalizeStyle(t.fixedWidth>0?{width:`${t.fixedWidth}px`}:{})},[h.renderSlot(c.$slots,"default")],6))}}),mD={class:"link-sharing"},wD={key:0,class:"link-sharing__links container"},CD={class:"row"},yD={key:0,class:"col-12 col-md-6"},QD=["href"],ED={class:"caption"},FD={key:1,class:"col-12 col-md-6"},UD=["href"],bD={class:"caption"},vD={key:2,class:"col-12 col-md-6"},ID={class:"caption"},SD={key:3,class:"col-12 col-md-6"},TD=["href"],xD={class:"caption"},HD={key:4,class:"col-12 col-md-6"},LD=["href"],_D={class:"caption"},OD={key:5,class:"col-12 col-md-6"},MD=["onClick"],DD={class:"caption"},kD={key:6,class:"col-12 col-md-6"},ND=["href"],RD={class:"caption"},KD={key:1,class:"link-sharing__instructions pt-5"},VD={class:"row"},PD={class:"col-12 text-center py-0"},GD={class:"mb-5"},WD=t=>t.replace(/<(?:.|\n)*?>/gm,""),$D=h.defineComponent({__name:"link-sharing",props:{url:{type:String,default:""},subject:{type:String,default:""},hashtags:Array,text:{type:String,default:""},media:{type:String,default:""},services:{type:Object,default:{facebook:!0,instagram:!0,linkedin:!0,whatsapp:!0,mailto:!0,clipboard:!0,x:!0}}},setup(t){const A=t,e=h.ref(!1),n=h.computed(()=>encodeURIComponent(A.url));h.computed(()=>encodeURIComponent(A.media));const r=h.computed(()=>WD(A.text)),i=h.computed(()=>Boolean(navigator&&navigator.userAgent&&/Mobi|Android/i.test(navigator.userAgent)));function s(){const a=document.createElement("textarea");document.body.appendChild(a),a.value=A.url,a.select(),document.execCommand("copy"),document.body.removeChild(a)}return(a,c)=>{const u=h.resolveComponent("svg-icon");return h.openBlock(),h.createElementBlock("div",mD,[e.value?(h.openBlock(),h.createElementBlock("div",KD,[h.createElementVNode("div",VD,[h.createElementVNode("div",PD,[h.createElementVNode("div",GD,[h.createElementVNode("p",null,h.toDisplayString(a.$t("sharing.instructions",{service:"Instagram"})),1),h.createElementVNode("p",null,[h.createElementVNode("strong",null,h.toDisplayString(t.hashtags),1)])])])])])):(h.openBlock(),h.createElementBlock("div",wD,[h.createElementVNode("div",CD,[t.services.facebook?(h.openBlock(),h.createElementBlock("div",yD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.facebook.com/sharer.php?u=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"facebook"}),h.createElementVNode("span",ED,h.toDisplayString(a.$t("sharing.facebook")),1)],8,QD)])):h.createCommentVNode("",!0),t.services.x?(h.openBlock(),h.createElementBlock("div",FD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://x.com/share?text=${t.subject}&url=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"x-logo"}),h.createElementVNode("span",bD,h.toDisplayString(a.$t("sharing.x")),1)],8,UD)])):h.createCommentVNode("",!0),t.services.instagram?(h.openBlock(),h.createElementBlock("div",vD,[h.createElementVNode("button",{class:"link-sharing__link btn btn-primary",onClick:c[0]||(c[0]=h.withModifiers(d=>e.value=!e.value,["prevent"])),target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"instagram"}),h.createElementVNode("span",ID,h.toDisplayString(a.$t("sharing.instagram")),1)])])):h.createCommentVNode("",!0),t.services.linkedin?(h.openBlock(),h.createElementBlock("div",SD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`https://www.linkedin.com/shareArticle?mini=true&url=${h.unref(n)}&title=${t.subject}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"linkedin"}),h.createElementVNode("span",xD,h.toDisplayString(a.$t("sharing.linkedin")),1)],8,TD)])):h.createCommentVNode("",!0),t.services.whatsapp&&h.unref(i)?(h.openBlock(),h.createElementBlock("div",HD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`whatsapp://send?text=${h.unref(n)}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"whatsapp"}),h.createElementVNode("span",_D,h.toDisplayString(a.$t("sharing.whatsapp")),1)],8,LD)])):h.createCommentVNode("",!0),t.services.clipboard?(h.openBlock(),h.createElementBlock("div",OD,[h.createElementVNode("button",{class:"link-sharing__link btn btn-primary",onClick:h.withModifiers(s,["prevent","stop"]),target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"copy"}),h.createElementVNode("span",DD,h.toDisplayString(a.$t("sharing.clipboard")),1)],8,MD)])):h.createCommentVNode("",!0),t.services.mailto?(h.openBlock(),h.createElementBlock("div",kD,[h.createElementVNode("a",{class:"link-sharing__link btn btn-primary",href:`mailto:?subject=${t.subject}&body=${h.unref(r)}%0D%0A${t.url}`,target:"_blank",rel:"noopener"},[h.createVNode(u,{symbol:"mail"}),h.createElementVNode("span",RD,h.toDisplayString(a.$t("sharing.mailto")),1)],8,ND)])):h.createCommentVNode("",!0)])]))])}}}),Y2="",JD={class:"base-form"},XD=["onSubmit"],YD=h.defineComponent({__name:"base-form",props:{id:null,name:null,variant:null,disabled:{type:Boolean},pending:{type:Boolean}},setup(t){function A(r){console.log("input",r)}function e(r){console.log("reset",r)}function n(r){console.log("submit",r)}return(r,i)=>(h.openBlock(),h.createElementBlock("div",JD,[h.createElementVNode("form",{ref:"form",onInput:A,onReset:e,onSubmit:h.withModifiers(n,["prevent"])},[h.renderSlot(r.$slots,"default")],40,XD)]))}}),z2="";MA.Accordion=Zy,MA.AccordionItem=Jy,MA.AssetUploader=bx,MA.BaseButton=AQ,MA.BaseCamera=hT,MA.BaseCarousel=ZB,MA.BaseForm=YD,MA.BaseHeadline=Dy,MA.BaseInput=rQ,MA.BaseParagraph=Ny,MA.CheckGroup=gQ,MA.DomRenderer=BD,MA.FileUpload=px,MA.InputCheckbox=fQ,MA.InputColor=ZI,MA.InputDropdown=$S,MA.InputFile=SQ,MA.InputTextarea=aQ,MA.LinkSharing=$D,MA.LoadingSpinner=My,MA.MediaThumbnails=Mx,MA.ProgressSteps=Wx,MA.RadioGroup=yQ,MA.RteEditor=XI,MA.SvgIcon=Ty,MA.UploadGroup=qB,Object.defineProperty(MA,Symbol.toStringTag,{value:"Module"})});
|
package/dist/symbol-defs.svg
CHANGED
|
@@ -768,7 +768,7 @@
|
|
|
768
768
|
<symbol id="icon-twitter" viewBox="0 0 32 32">
|
|
769
769
|
<path d="M21.12 2.699c-1.139 0.208-1.596 0.345-2.32 0.691-1.827 0.873-3.205 2.476-3.808 4.424-0.18 0.585-0.324 1.428-0.325 1.905v0.305l-0.253-0.029c-1.232-0.145-2.475-0.443-3.427-0.82-2.317-0.92-4.219-2.367-5.679-4.321-0.536-0.719-0.793-0.907-1.244-0.907-0.333 0-0.855 0.253-1.077 0.524-0.385 0.467-0.979 2.423-1.273 4.196-0.303 1.829-0.285 3.929 0.048 5.557 0.309 1.515 1.001 3.196 1.808 4.391 0.984 1.459 2.332 2.781 3.884 3.811 0.212 0.141 0.387 0.265 0.387 0.276 0 0.080-1.683 0.689-2.427 0.879-1.069 0.273-2.269 0.419-3.467 0.42-0.499 0-0.993 0.025-1.1 0.055-0.308 0.085-0.537 0.272-0.684 0.557-0.185 0.361-0.193 1.009-0.016 1.343 0.171 0.323 0.387 0.476 1.356 0.963 2.337 1.175 4.505 1.844 7.057 2.18 0.885 0.116 3.136 0.16 4.091 0.080 3.189-0.269 6.221-1.337 8.816-3.104 4.988-3.396 7.864-9.243 7.867-15.988v-0.767l0.231-0.273c0.849-0.999 1.549-2.208 2.007-3.46 0.444-1.217 0.537-1.913 0.305-2.295-0.188-0.311-0.561-0.531-1.016-0.599-0.407-0.061-0.633 0.013-1.272 0.421-0.331 0.212-0.829 0.508-1.108 0.657-0.505 0.272-1.491 0.709-1.597 0.709-0.031 0-0.276-0.167-0.544-0.371-0.795-0.603-1.821-1.063-2.927-1.309-0.387-0.085-1.988-0.156-2.292-0.101zM22.827 5.411c0.995 0.192 1.724 0.585 2.504 1.348 0.221 0.217 0.496 0.443 0.609 0.501 0.3 0.157 0.704 0.139 1.284-0.057 0.261-0.089 0.485-0.163 0.496-0.163 0.045 0-0.212 0.319-0.587 0.725-0.563 0.611-0.612 0.759-0.523 1.579 0.069 0.656 0.053 1.489-0.056 2.709-0.509 5.695-3.509 10.373-8.181 12.756-0.905 0.461-1.24 0.605-2.092 0.901-1.14 0.395-2.436 0.676-3.668 0.795-0.797 0.077-2.567 0.064-3.413-0.025-0.884-0.093-2.049-0.297-2.476-0.433-0.041-0.013 0.237-0.131 0.621-0.261 1.357-0.461 2.62-1.071 3.753-1.811 0.564-0.369 0.696-0.519 0.851-0.968 0.129-0.376 0.131-0.624 0.004-0.903-0.143-0.312-0.336-0.449-1.301-0.924-2.907-1.425-4.809-3.344-5.799-5.844-0.693-1.753-0.865-4.041-0.48-6.377 0.157-0.956 0.112-0.924 0.641-0.439 1.195 1.093 2.276 1.844 3.652 2.533 1.557 0.78 2.939 1.216 4.795 1.515 0.647 0.104 2.705 0.159 2.997 0.079 0.32-0.087 0.564-0.272 0.715-0.543 0.129-0.231 0.135-0.279 0.167-1.571 0.028-1.117 0.052-1.401 0.147-1.753 0.313-1.168 1.151-2.263 2.168-2.835 0.959-0.539 2.128-0.736 3.172-0.535z"></path>
|
|
770
770
|
</symbol>
|
|
771
|
-
<symbol id="icon-x" viewBox="0 0 31 32">
|
|
771
|
+
<symbol id="icon-x-logo" viewBox="0 0 31 32">
|
|
772
772
|
<path d="M18.625 13.543l11.651-13.543h-2.761l-10.116 11.759-8.080-11.759h-9.319l12.218 17.782-12.218 14.202h2.761l10.683-12.418 8.533 12.418h9.319l-12.671-18.441zM14.844 17.938l-11.088-15.86h4.241l19.52 27.921h-4.241l-8.432-12.061z"></path>
|
|
773
773
|
</symbol>
|
|
774
774
|
<symbol id="icon-type" viewBox="0 0 32 32">
|