akpm-procedures 1.0.1 → 1.0.5
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.
- package/CDN/akpm-procedures.umd.cjs +704 -0
- package/package.json +1 -1
- package/CDN/aksilia-suite-procedures.js +0 -12474
- package/CDN/icons/add_column.png +0 -0
- package/CDN/icons/add_row.png +0 -0
- package/CDN/icons/ai.png +0 -0
- package/CDN/icons/arrow_down.png +0 -0
- package/CDN/icons/bar-chart.png +0 -0
- package/CDN/icons/more.png +0 -0
- package/CDN/icons/pie-chart.png +0 -0
- package/CDN/icons/printer.png +0 -0
- package/CDN/icons/radar-chart.png +0 -0
- package/CDN/icons/remove_column.png +0 -0
- package/CDN/icons/remove_row.png +0 -0
- package/CDN/icons/spell_check.png +0 -0
- package/CDN/icons/trash.png +0 -0
- package/CDN/images/rabbit_esg.jpeg +0 -0
- package/CDN/styles/svelte-table.css +0 -7
- package/CDN/vite.svg +0 -1
|
@@ -0,0 +1,704 @@
|
|
|
1
|
+
(function(bt,dt){typeof exports=="object"&&typeof module<"u"?module.exports=dt():typeof define=="function"&&define.amd?define(dt):(bt=typeof globalThis<"u"?globalThis:bt||self,bt["procedure-router"]=dt())})(this,function(){"use strict";var B0=Object.defineProperty;var uu=bt=>{throw TypeError(bt)};var M0=(bt,dt,Ot)=>dt in bt?B0(bt,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):bt[dt]=Ot;var $=(bt,dt,Ot)=>M0(bt,typeof dt!="symbol"?dt+"":dt,Ot),cu=(bt,dt,Ot)=>dt.has(bt)||uu("Cannot "+Ot);var Wt=(bt,dt,Ot)=>(cu(bt,dt,"read from private field"),Ot?Ot.call(bt):dt.get(bt)),Go=(bt,dt,Ot)=>dt.has(bt)?uu("Cannot add the same private member more than once"):dt instanceof WeakSet?dt.add(bt):dt.set(bt,Ot),qo=(bt,dt,Ot,ln)=>(cu(bt,dt,"write to private field"),ln?ln.call(bt,Ot):dt.set(bt,Ot),Ot);var je,le;const bt="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(bt);let dt=!1;function Ot(){dt=!0}Ot();const ln=1,gi=2,Vo=4,du=8,fu=16,hu=1,vu=2,Yo=4,pu=8,mu=16,gu=1,bu=2,_u=4,yu=1,xu=2,bi="[",_i="[!",yi="]",un={},$t=Symbol(),Xo=!1;function mr(t){console.warn("hydration_mismatch")}var Ln=Array.isArray,xi=Array.from,gr=Object.keys,br=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,Jo=Object.getOwnPropertyDescriptors,wu=Object.prototype,ku=Array.prototype,_r=Object.getPrototypeOf;function cn(t){return typeof t=="function"}const Ft=()=>{};function Eu(t){return t()}function Pn(t){for(var e=0;e<t.length;e++)t[e]()}const ue=2,Wo=4,Hn=8,yr=16,ce=32,Bn=64,wi=128,Qe=256,xr=512,Bt=1024,Le=2048,dn=4096,ge=8192,fn=16384,Zo=32768,hn=65536,Su=1<<17,Qo=1<<19,Ko=1<<20,Ce=Symbol("$state"),ki=Symbol("legacy props"),Au=Symbol("");function ts(t){return t===this.v}function es(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Ei(t){return!es(t,this.v)}function Cu(t){throw new Error("effect_in_teardown")}function Tu(){throw new Error("effect_in_unowned_derived")}function Nu(t){throw new Error("effect_orphan")}function zu(){throw new Error("effect_update_depth_exceeded")}function Iu(){throw new Error("hydration_failed")}function ju(t){throw new Error("lifecycle_legacy_only")}function Ou(t){throw new Error("props_invalid_value")}function Lu(){throw new Error("state_descriptors_fixed")}function Pu(){throw new Error("state_prototype_fixed")}function Hu(){throw new Error("state_unsafe_local_read")}function Bu(){throw new Error("state_unsafe_mutation")}function Ut(t){return{f:0,v:t,reactions:null,equals:ts,version:0}}function Q(t){return ns(Ut(t))}function Mn(t,e=!1){var r;const n=Ut(t);return e||(n.equals=Ei),dt&&ft!==null&&ft.l!==null&&((r=ft.l).s??(r.s=[])).push(n),n}function Zt(t,e=!1){return ns(Mn(t,e))}function ns(t){return vt!==null&&vt.f&ue&&(be===null?Xu([t]):be.push(t)),t}function Si(t,e){return T(t,_e(()=>v(t))),e}function T(t,e){return vt!==null&&Nr()&&vt.f&(ue|yr)&&(be===null||!be.includes(t))&&Bu(),Ai(t,e)}function Ai(t,e){return t.equals(e)||(t.v=e,t.version=Ts(),rs(t,Le),Nr()&&et!==null&&et.f&Bt&&!(et.f&ce)&&(Ht!==null&&Ht.includes(t)?(fe(et,Le),Ir(et)):Me===null?Ju([t]):Me.push(t))),e}function rs(t,e){var n=t.reactions;if(n!==null)for(var r=Nr(),i=n.length,o=0;o<i;o++){var s=n[o],a=s.f;a&Le||!r&&s===et||(fe(s,e),a&(Bt|Qe)&&(a&ue?rs(s,dn):Ir(s)))}}let tt=!1;function de(t){tt=t}let ot;function Gt(t){if(t===null)throw mr(),un;return ot=t}function Pe(){return Gt(oe(ot))}function y(t){if(tt){if(oe(ot)!==null)throw mr(),un;ot=t}}function Ci(t=1){if(tt){for(var e=t,n=ot;e--;)n=oe(n);ot=n}}function Ti(){for(var t=0,e=ot;;){if(e.nodeType===8){var n=e.data;if(n===yi){if(t===0)return e;t-=1}else(n===bi||n===_i)&&(t+=1)}var r=oe(e);e.remove(),e=r}}function D(t,e=null,n){if(typeof t!="object"||t===null||Ce in t)return t;const r=_r(t);if(r!==wu&&r!==ku)return t;var i=new Map,o=Ln(t),s=Ut(0);o&&i.set("length",Ut(t.length));var a;return new Proxy(t,{defineProperty(l,u,c){(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&Lu();var d=i.get(u);return d===void 0?(d=Ut(c.value),i.set(u,d)):T(d,D(c.value,a)),!0},deleteProperty(l,u){var c=i.get(u);if(c===void 0)u in l&&i.set(u,Ut($t));else{if(o&&typeof u=="string"){var d=i.get("length"),f=Number(u);Number.isInteger(f)&&f<d.v&&T(d,f)}T(c,$t),is(s)}return!0},get(l,u,c){var b;if(u===Ce)return t;var d=i.get(u),f=u in l;if(d===void 0&&(!f||(b=Ae(l,u))!=null&&b.writable)&&(d=Ut(D(f?l[u]:$t,a)),i.set(u,d)),d!==void 0){var h=v(d);return h===$t?void 0:h}return Reflect.get(l,u,c)},getOwnPropertyDescriptor(l,u){var c=Reflect.getOwnPropertyDescriptor(l,u);if(c&&"value"in c){var d=i.get(u);d&&(c.value=v(d))}else if(c===void 0){var f=i.get(u),h=f==null?void 0:f.v;if(f!==void 0&&h!==$t)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return c},has(l,u){var h;if(u===Ce)return!0;var c=i.get(u),d=c!==void 0&&c.v!==$t||Reflect.has(l,u);if(c!==void 0||et!==null&&(!d||(h=Ae(l,u))!=null&&h.writable)){c===void 0&&(c=Ut(d?D(l[u],a):$t),i.set(u,c));var f=v(c);if(f===$t)return!1}return d},set(l,u,c,d){var x;var f=i.get(u),h=u in l;if(o&&u==="length")for(var b=c;b<f.v;b+=1){var g=i.get(b+"");g!==void 0?T(g,$t):b in l&&(g=Ut($t),i.set(b+"",g))}f===void 0?(!h||(x=Ae(l,u))!=null&&x.writable)&&(f=Ut(void 0),T(f,D(c,a)),i.set(u,f)):(h=f.v!==$t,T(f,D(c,a)));var _=Reflect.getOwnPropertyDescriptor(l,u);if(_!=null&&_.set&&_.set.call(d,c),!h){if(o&&typeof u=="string"){var w=i.get("length"),A=Number(u);Number.isInteger(A)&&A>=w.v&&T(w,A+1)}is(s)}return!0},ownKeys(l){v(s);var u=Reflect.ownKeys(l).filter(f=>{var h=i.get(f);return h===void 0||h.v!==$t});for(var[c,d]of i)d.v!==$t&&!(c in l)&&u.push(c);return u},setPrototypeOf(){Pu()}})}function is(t,e=1){T(t,t.v+e)}function os(t){return t!==null&&typeof t=="object"&&Ce in t?t[Ce]:t}function Mu(t,e){return Object.is(os(t),os(e))}var ss,as,ls;function Ni(){if(ss===void 0){ss=window;var t=Element.prototype,e=Node.prototype;as=Ae(e,"firstChild").get,ls=Ae(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0}}function Ke(t=""){return document.createTextNode(t)}function qt(t){return as.call(t)}function oe(t){return ls.call(t)}function S(t,e){if(!tt)return qt(t);var n=qt(ot);if(n===null)n=ot.appendChild(Ke());else if(e&&n.nodeType!==3){var r=Ke();return n==null||n.before(r),Gt(r),r}return Gt(n),n}function Vt(t,e){if(!tt){var n=qt(t);return n instanceof Comment&&n.data===""?oe(n):n}return ot}function P(t,e=1,n=!1){let r=tt?ot:t;for(var i;e--;)i=r,r=oe(r);if(!tt)return r;var o=r==null?void 0:r.nodeType;if(n&&o!==3){var s=Ke();return r===null?i==null||i.after(s):r.before(s),Gt(s),s}return Gt(r),r}function us(t){t.textContent=""}function Mt(t){var e=ue|Le;et===null?e|=Qe:et.f|=Ko;var n=vt!==null&&vt.f&ue?vt:null;const r={children:null,ctx:ft,deps:null,equals:ts,f:e,fn:t,reactions:null,v:null,version:0,parent:n??et};return n!==null&&(n.children??(n.children=[])).push(r),r}function zi(t){const e=Mt(t);return e.equals=Ei,e}function cs(t){var e=t.children;if(e!==null){t.children=null;for(var n=0;n<e.length;n+=1){var r=e[n];r.f&ue?Ii(r):Ne(r)}}}function Du(t){for(var e=t.parent;e!==null;){if(!(e.f&ue))return e;e=e.parent}return null}function ds(t){var e,n=et;Yt(Du(t));try{cs(t),e=Ns(t)}finally{Yt(n)}return e}function fs(t){var e=ds(t),n=(bn||t.f&Qe)&&t.deps!==null?dn:Bt;fe(t,n),t.equals(e)||(t.v=e,t.version=Ts())}function Ii(t){cs(t),Gn(t,0),fe(t,fn),t.v=t.children=t.deps=t.ctx=t.reactions=null}function hs(t){et===null&&vt===null&&Nu(),vt!==null&&vt.f&Qe&&Tu(),Pi&&Cu()}function Ru(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function vn(t,e,n,r=!0){var i=(t&Bn)!==0,o=et,s={ctx:ft,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:t|Le,first:null,fn:e,last:null,next:null,parent:i?null:o,prev:null,teardown:null,transitions:null,version:0};if(n){var a=mn;try{Ss(!0),qn(s),s.f|=Zo}catch(c){throw Ne(s),c}finally{Ss(a)}}else e!==null&&Ir(s);var l=n&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&(s.f&Ko)===0;if(!l&&!i&&r&&(o!==null&&Ru(s,o),vt!==null&&vt.f&ue)){var u=vt;(u.children??(u.children=[])).push(s)}return s}function vs(t){const e=vn(Hn,null,!1);return fe(e,Bt),e.teardown=t,e}function pn(t){hs();var e=et!==null&&(et.f&ce)!==0&&ft!==null&&!ft.m;if(e){var n=ft;(n.e??(n.e=[])).push({fn:t,effect:et,reaction:vt})}else{var r=Dn(t);return r}}function $u(t){return hs(),Rn(t)}function ps(t){const e=vn(Bn,t,!0);return()=>{Ne(e)}}function Dn(t){return vn(Wo,t,!1)}function Te(t,e,n,r){var i=ft,o={effect:null,ran:!1};i.l.r1.push(o),o.effect=Rn(()=>{t(),!o.ran&&(o.ran=!0,T(i.l.r2,!0),_e(e))})}function He(){var t=ft;Rn(()=>{if(v(t.l.r2)){for(var e of t.l.r1){var n=e.effect;n.f&Bt&&fe(n,dn),_n(n)&&qn(n),e.ran=!1}t.l.r2.v=!1}})}function Rn(t){return vn(Hn,t,!0)}function j(t){return tn(t)}function tn(t,e=0){return vn(Hn|yr|e,t,!0)}function Be(t,e=!0){return vn(Hn|ce,t,!0,e)}function ms(t){var e=t.teardown;if(e!==null){const n=Pi,r=vt;As(!0),se(null);try{e.call(null)}finally{As(n),se(r)}}}function gs(t){var e=t.deriveds;if(e!==null){t.deriveds=null;for(var n=0;n<e.length;n+=1)Ii(e[n])}}function bs(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){var r=n.next;Ne(n,e),n=r}}function Fu(t){for(var e=t.first;e!==null;){var n=e.next;e.f&ce||Ne(e),e=n}}function Ne(t,e=!0){var n=!1;if((e||t.f&Qo)&&t.nodes_start!==null){for(var r=t.nodes_start,i=t.nodes_end;r!==null;){var o=r===i?null:oe(r);r.remove(),r=o}n=!0}bs(t,e&&!n),gs(t),Gn(t,0),fe(t,fn);var s=t.transitions;if(s!==null)for(const l of s)l.stop();ms(t);var a=t.parent;a!==null&&a.first!==null&&_s(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function _s(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function wr(t,e){var n=[];ji(t,n,!0),ys(n,()=>{Ne(t),e&&e()})}function ys(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var i of t)i.out(r)}else e()}function ji(t,e,n){if(!(t.f&ge)){if(t.f^=ge,t.transitions!==null)for(const s of t.transitions)(s.is_global||n)&&e.push(s);for(var r=t.first;r!==null;){var i=r.next,o=(r.f&hn)!==0||(r.f&ce)!==0;ji(r,e,o?n:!1),r=i}}}function kr(t){xs(t,!0)}function xs(t,e){if(t.f&ge){_n(t)&&qn(t),t.f^=ge;for(var n=t.first;n!==null;){var r=n.next,i=(n.f&hn)!==0||(n.f&ce)!==0;xs(n,i?e:!1),n=r}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}const Uu=typeof requestIdleCallback>"u"?t=>setTimeout(t,1):requestIdleCallback;let Er=!1,Sr=!1,Oi=[],Li=[];function ws(){Er=!1;const t=Oi.slice();Oi=[],Pn(t)}function ks(){Sr=!1;const t=Li.slice();Li=[],Pn(t)}function $n(t){Er||(Er=!0,queueMicrotask(ws)),Oi.push(t)}function Gu(t){Sr||(Sr=!0,Uu(ks)),Li.push(t)}function qu(){Er&&ws(),Sr&&ks()}function Vu(){throw new Error("invalid_default_snippet")}function Ar(t){throw new Error("lifecycle_outside_component")}const Es=0,Yu=1;let Cr=!1,Tr=Es,Fn=!1,Un=null,mn=!1,Pi=!1;function Ss(t){mn=t}function As(t){Pi=t}let en=[],gn=0,D0=[],vt=null;function se(t){vt=t}let et=null;function Yt(t){et=t}let be=null;function Xu(t){be=t}let Ht=null,Qt=0,Me=null;function Ju(t){Me=t}let Cs=0,bn=!1,ft=null;function Ts(){return++Cs}function Nr(){return!dt||ft!==null&&ft.l===null}function _n(t){var s,a;var e=t.f;if(e&Le)return!0;if(e&dn){var n=t.deps,r=(e&Qe)!==0;if(n!==null){var i;if(e&xr){for(i=0;i<n.length;i++)((s=n[i]).reactions??(s.reactions=[])).push(t);t.f^=xr}for(i=0;i<n.length;i++){var o=n[i];if(_n(o)&&fs(o),r&&et!==null&&!bn&&!((a=o==null?void 0:o.reactions)!=null&&a.includes(t))&&(o.reactions??(o.reactions=[])).push(t),o.version>t.version)return!0}}r||fe(t,Bt)}return!1}function Wu(t,e){for(var n=e;n!==null;){if(n.f&wi)try{n.fn(t);return}catch{n.f^=wi}n=n.parent}throw Cr=!1,t}function Zu(t){return(t.f&fn)===0&&(t.parent===null||(t.parent.f&wi)===0)}function zr(t,e,n,r){if(Cr){if(n===null&&(Cr=!1),Zu(e))throw t;return}n!==null&&(Cr=!0);{Wu(t,e);return}}function Ns(t){var f;var e=Ht,n=Qt,r=Me,i=vt,o=bn,s=be,a=ft,l=t.f;Ht=null,Qt=0,Me=null,vt=l&(ce|Bn)?null:t,bn=!mn&&(l&Qe)!==0,be=null,ft=t.ctx;try{var u=(0,t.fn)(),c=t.deps;if(Ht!==null){var d;if(Gn(t,Qt),c!==null&&Qt>0)for(c.length=Qt+Ht.length,d=0;d<Ht.length;d++)c[Qt+d]=Ht[d];else t.deps=c=Ht;if(!bn)for(d=Qt;d<c.length;d++)((f=c[d]).reactions??(f.reactions=[])).push(t)}else c!==null&&Qt<c.length&&(Gn(t,Qt),c.length=Qt);return u}finally{Ht=e,Qt=n,Me=r,vt=i,bn=o,be=s,ft=a}}function Qu(t,e){let n=e.reactions;if(n!==null){var r=n.indexOf(t);if(r!==-1){var i=n.length-1;i===0?n=e.reactions=null:(n[r]=n[i],n.pop())}}n===null&&e.f&ue&&(Ht===null||!Ht.includes(e))&&(fe(e,dn),e.f&(Qe|xr)||(e.f^=xr),Gn(e,0))}function Gn(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)Qu(t,n[r])}function qn(t){var e=t.f;if(!(e&fn)){fe(t,Bt);var n=et,r=ft;et=t;try{e&yr?Fu(t):bs(t),gs(t),ms(t);var i=Ns(t);t.teardown=typeof i=="function"?i:null,t.version=Cs}catch(o){zr(o,t,n,r||t.ctx)}finally{et=n}}}function zs(){if(gn>1e3){gn=0;try{zu()}catch(t){if(Un!==null)zr(t,Un,null);else throw t}}gn++}function Is(t){var e=t.length;if(e!==0){zs();var n=mn;mn=!0;try{for(var r=0;r<e;r++){var i=t[r];i.f&Bt||(i.f^=Bt);var o=[];js(i,o),Ku(o)}}finally{mn=n}}}function Ku(t){var e=t.length;if(e!==0)for(var n=0;n<e;n++){var r=t[n];if(!(r.f&(fn|ge)))try{_n(r)&&(qn(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null?_s(r):r.fn=null))}catch(i){zr(i,r,null,r.ctx)}}}function tc(){if(Fn=!1,gn>1001)return;const t=en;en=[],Is(t),Fn||(gn=0,Un=null)}function Ir(t){Tr===Es&&(Fn||(Fn=!0,queueMicrotask(tc))),Un=t;for(var e=t;e.parent!==null;){e=e.parent;var n=e.f;if(n&(Bn|ce)){if(!(n&Bt))return;e.f^=Bt}}en.push(e)}function js(t,e){var n=t.first,r=[];t:for(;n!==null;){var i=n.f,o=(i&ce)!==0,s=o&&(i&Bt)!==0,a=n.next;if(!s&&!(i&ge))if(i&Hn){if(o)n.f^=Bt;else try{_n(n)&&qn(n)}catch(d){zr(d,n,null,n.ctx)}var l=n.first;if(l!==null){n=l;continue}}else i&Wo&&r.push(n);if(a===null){let d=n.parent;for(;d!==null;){if(t===d)break t;var u=d.next;if(u!==null){n=u;continue t}d=d.parent}}n=a}for(var c=0;c<r.length;c++)l=r[c],e.push(l),js(l,e)}function p(t){var e=Tr,n=en;try{zs();const i=[];Tr=Yu,en=i,Fn=!1,Is(n);var r=t==null?void 0:t();return qu(),(en.length>0||i.length>0)&&p(),gn=0,Un=null,r}finally{Tr=e,en=n}}async function Os(){await Promise.resolve(),p()}function v(t){var c;var e=t.f,n=(e&ue)!==0;if(n&&e&fn){var r=ds(t);return Ii(t),r}if(vt!==null){be!==null&&be.includes(t)&&Hu();var i=vt.deps;Ht===null&&i!==null&&i[Qt]===t?Qt++:Ht===null?Ht=[t]:Ht.push(t),Me!==null&&et!==null&&et.f&Bt&&!(et.f&ce)&&Me.includes(t)&&(fe(et,Le),Ir(et))}else if(n&&t.deps===null)for(var o=t,s=o.parent,a=o;s!==null;)if(s.f&ue){var l=s;a=l,s=l.parent}else{var u=s;(c=u.deriveds)!=null&&c.includes(a)||(u.deriveds??(u.deriveds=[])).push(a);break}return n&&(o=t,_n(o)&&fs(o)),t.v}function _e(t){const e=vt;try{return vt=null,t()}finally{vt=e}}const ec=~(Le|dn|Bt);function fe(t,e){t.f=t.f&ec|e}function Hi(t,e=1){var n=v(t),r=e===1?n++:n--;return T(t,n),r}function U(t,e=!1,n){ft={p:ft,c:null,e:null,m:!1,s:t,x:null,l:null},dt&&!e&&(ft.l={s:null,u:null,r1:[],r2:Ut(!1)})}function G(t){const e=ft;if(e!==null){t!==void 0&&(e.x=t);const s=e.e;if(s!==null){var n=et,r=vt;e.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];Yt(o.effect),se(o.reaction),Dn(o.fn)}}finally{Yt(n),se(r)}}ft=e.p,e.m=!0}return t||{}}function Kt(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(Ce in t)Bi(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];typeof n=="object"&&n&&Ce in n&&Bi(n)}}}function Bi(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let r in t)try{Bi(t[r],e)}catch{}const n=_r(t);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Jo(n);for(let i in r){const o=r[i].get;if(o)try{o.call(t)}catch{}}}}}function nc(t,e){if(e){const n=document.body;t.autofocus=!0,$n(()=>{document.activeElement===n&&t.focus()})}}let Ls=!1;function Ps(){Ls||(Ls=!0,document.addEventListener("reset",t=>{Promise.resolve().then(()=>{var e;if(!t.defaultPrevented)for(const n of t.target.elements)(e=n.__on_r)==null||e.call(n)})},{capture:!0}))}function Hs(t){var e=vt,n=et;se(null),Yt(null);try{return t()}finally{se(e),Yt(n)}}function Bs(t,e,n,r=n){t.addEventListener(e,()=>Hs(n));const i=t.__on_r;i?t.__on_r=()=>{i(),r(!0)}:t.__on_r=()=>r(!0),Ps()}const Ms=new Set,Mi=new Set;function Ds(t,e,n,r){function i(o){if(r.capture||Vn.call(e,o),!o.cancelBubble)return Hs(()=>n.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?$n(()=>{e.addEventListener(t,i,r)}):e.addEventListener(t,i,r),i}function jr(t,e,n,r,i){var o={capture:r,passive:i},s=Ds(t,e,n,o);(e===document.body||e===window||e===document)&&vs(()=>{e.removeEventListener(t,s,o)})}function ye(t){for(var e=0;e<t.length;e++)Ms.add(t[e]);for(var n of Mi)n(t)}function Vn(t){var A;var e=this,n=e.ownerDocument,r=t.type,i=((A=t.composedPath)==null?void 0:A.call(t))||[],o=i[0]||t.target,s=0,a=t.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var u=i.indexOf(e);if(u===-1)return;l<=u&&(s=l)}if(o=i[s]||t.target,o!==e){br(t,"currentTarget",{configurable:!0,get(){return o||n}});var c=vt,d=et;se(null),Yt(null);try{for(var f,h=[];o!==null;){var b=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+r];if(g!==void 0&&!o.disabled)if(Ln(g)){var[_,...w]=g;_.apply(o,[t,...w])}else g.call(o,t)}catch(x){f?h.push(x):f=x}if(t.cancelBubble||b===e||b===null)break;o=b}if(f){for(let x of h)queueMicrotask(()=>{throw x});throw f}}finally{t.__root=e,delete t.currentTarget,se(c),Yt(d)}}}let ae;function rc(){ae=void 0}function ic(t){let e=null,n=tt;var r;if(tt){for(e=ot,ae===void 0&&(ae=qt(document.head));ae!==null&&(ae.nodeType!==8||ae.data!==bi);)ae=oe(ae);ae===null?de(!1):ae=Gt(oe(ae))}tt||(r=document.head.appendChild(Ke()));try{tn(()=>t(r),Qo)}finally{n&&(de(!0),ae=ot,Gt(e))}}function Di(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function xe(t,e){var n=et;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function O(t,e){var n=(e&yu)!==0,r=(e&xu)!==0,i,o=!t.startsWith("<!>");return()=>{if(tt)return xe(ot,null),ot;i===void 0&&(i=Di(o?t:"<!>"+t),n||(i=qt(i)));var s=r?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=qt(s),l=s.lastChild;xe(a,l)}else xe(s,s);return s}}function oc(t,e,n="svg"){var r=!t.startsWith("<!>"),i=`<${n}>${r?t:"<!>"+t}</${n}>`,o;return()=>{if(tt)return xe(ot,null),ot;if(!o){var s=Di(i),a=qt(s);o=qt(a)}var l=o.cloneNode(!0);return xe(l,l),l}}function we(){if(tt)return xe(ot,null),ot;var t=document.createDocumentFragment(),e=document.createComment(""),n=Ke();return t.append(e,n),xe(e,n),t}function I(t,e){if(tt){et.nodes_end=ot,Pe();return}t!==null&&t.before(e)}function sc(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const ac=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function lc(t){return ac.includes(t)}const uc={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function cc(t){return t=t.toLowerCase(),uc[t]??t}const dc=["touchstart","touchmove"];function fc(t){return dc.includes(t)}let Ri=!0;function K(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=n,t.nodeValue=n==null?"":n+"")}function $i(t,e){return Rs(t,e)}function hc(t,e){Ni(),e.intro=e.intro??!1;const n=e.target,r=tt,i=ot;try{for(var o=qt(n);o&&(o.nodeType!==8||o.data!==bi);)o=oe(o);if(!o)throw un;de(!0),Gt(o),Pe();const s=Rs(t,{...e,anchor:o});if(ot===null||ot.nodeType!==8||ot.data!==yi)throw mr(),un;return de(!1),s}catch(s){if(s===un)return e.recover===!1&&Iu(),Ni(),us(n),de(!1),$i(t,e);throw s}finally{de(r),Gt(i),rc()}}const yn=new Map;function Rs(t,{target:e,anchor:n,props:r={},events:i,context:o,intro:s=!0}){Ni();var a=new Set,l=d=>{for(var f=0;f<d.length;f++){var h=d[f];if(!a.has(h)){a.add(h);var b=fc(h);e.addEventListener(h,Vn,{passive:b});var g=yn.get(h);g===void 0?(document.addEventListener(h,Vn,{passive:b}),yn.set(h,1)):yn.set(h,g+1)}}};l(xi(Ms)),Mi.add(l);var u=void 0,c=ps(()=>{var d=n??e.appendChild(Ke());return Be(()=>{if(o){U({});var f=ft;f.c=o}i&&(r.$$events=i),tt&&xe(d,null),Ri=s,u=t(d,r)||{},Ri=!0,tt&&(et.nodes_end=ot),o&&G()}),()=>{var b;for(var f of a){e.removeEventListener(f,Vn);var h=yn.get(f);--h===0?(document.removeEventListener(f,Vn),yn.delete(f)):yn.set(f,h)}Mi.delete(l),Fi.delete(u),d!==n&&((b=d.parentNode)==null||b.removeChild(d))}});return Fi.set(u,c),u}let Fi=new WeakMap;function vc(t){const e=Fi.get(t);e&&e()}function gt(t,e,n=!1){tt&&Pe();var r=t,i=null,o=null,s=$t,a=n?hn:0,l=!1;const u=(d,f=!0)=>{l=!0,c(f,d)},c=(d,f)=>{if(s===(s=d))return;let h=!1;if(tt){const b=r.data===_i;!!s===b&&(r=Ti(),Gt(r),de(!1),h=!0)}s?(i?kr(i):f&&(i=Be(()=>f(r))),o&&wr(o,()=>{o=null})):(o?kr(o):f&&(o=Be(()=>f(r))),i&&wr(i,()=>{i=null})),h&&de(!0)};tn(()=>{l=!1,e(u),l||c(null,null)},a),tt&&(r=ot)}function Ct(t,e){return e}function pc(t,e,n,r){for(var i=[],o=e.length,s=0;s<o;s++)ji(e[s].e,i,!0);var a=o>0&&i.length===0&&n!==null;if(a){var l=n.parentNode;us(l),l.append(n),r.clear(),De(t,e[0].prev,e[o-1].next)}ys(i,()=>{for(var u=0;u<o;u++){var c=e[u];a||(r.delete(c.k),De(t,c.prev,c.next)),Ne(c.e,!a)}})}function Tt(t,e,n,r,i,o=null){var s=t,a={flags:e,items:new Map,first:null},l=(e&Vo)!==0;if(l){var u=t;s=tt?Gt(qt(u)):u.appendChild(Ke())}tt&&Pe();var c=null,d=!1;tn(()=>{var f=n(),h=Ln(f)?f:f==null?[]:xi(f),b=h.length;if(d&&b===0)return;d=b===0;let g=!1;if(tt){var _=s.data===_i;_!==(b===0)&&(s=Ti(),Gt(s),de(!1),g=!0)}if(tt){for(var w=null,A,x=0;x<b;x++){if(ot.nodeType===8&&ot.data===yi){s=ot,g=!0,de(!1);break}var k=h[x],E=r(k,x);A=$s(ot,a,w,null,k,E,x,i,e),a.items.set(E,A),w=A}b>0&&Gt(Ti())}if(!tt){var C=vt;mc(h,a,s,i,e,(C.f&ge)!==0,r)}o!==null&&(b===0?c?kr(c):c=Be(()=>o(s)):c!==null&&wr(c,()=>{c=null})),g&&de(!0),n()}),tt&&(s=ot)}function mc(t,e,n,r,i,o,s){var nt,_t,St,V;var a=(i&du)!==0,l=(i&(ln|gi))!==0,u=t.length,c=e.items,d=e.first,f=d,h,b=null,g,_=[],w=[],A,x,k,E;if(a)for(E=0;E<u;E+=1)A=t[E],x=s(A,E),k=c.get(x),k!==void 0&&((nt=k.a)==null||nt.measure(),(g??(g=new Set)).add(k));for(E=0;E<u;E+=1){if(A=t[E],x=s(A,E),k=c.get(x),k===void 0){var C=f?f.e.nodes_start:n;b=$s(C,e,b,b===null?e.first:b.next,A,x,E,r,i),c.set(x,b),_=[],w=[],f=b.next;continue}if(l&&gc(k,A,E,i),k.e.f&ge&&(kr(k.e),a&&((_t=k.a)==null||_t.unfix(),(g??(g=new Set)).delete(k))),k!==f){if(h!==void 0&&h.has(k)){if(_.length<w.length){var N=w[0],z;b=N.prev;var L=_[0],F=_[_.length-1];for(z=0;z<_.length;z+=1)Fs(_[z],N,n);for(z=0;z<w.length;z+=1)h.delete(w[z]);De(e,L.prev,F.next),De(e,b,L),De(e,F,N),f=N,b=F,E-=1,_=[],w=[]}else h.delete(k),Fs(k,f,n),De(e,k.prev,k.next),De(e,k,b===null?e.first:b.next),De(e,b,k),b=k;continue}for(_=[],w=[];f!==null&&f.k!==x;)(o||!(f.e.f&ge))&&(h??(h=new Set)).add(f),w.push(f),f=f.next;if(f===null)continue;k=f}_.push(k),b=k,f=k.next}if(f!==null||h!==void 0){for(var M=h===void 0?[]:xi(h);f!==null;)(o||!(f.e.f&ge))&&M.push(f),f=f.next;var B=M.length;if(B>0){var W=i&Vo&&u===0?n:null;if(a){for(E=0;E<B;E+=1)(St=M[E].a)==null||St.measure();for(E=0;E<B;E+=1)(V=M[E].a)==null||V.fix()}pc(e,M,W,c)}}a&&$n(()=>{var ht;if(g!==void 0)for(k of g)(ht=k.a)==null||ht.apply()}),et.first=e.first&&e.first.e,et.last=b&&b.e}function gc(t,e,n,r){r&ln&&Ai(t.v,e),r&gi?Ai(t.i,n):t.i=n}function $s(t,e,n,r,i,o,s,a,l){var u=(l&ln)!==0,c=(l&fu)===0,d=u?c?Mn(i):Ut(i):i,f=l&gi?Ut(s):s,h={i:f,v:d,k:o,a:null,e:null,prev:n,next:r};try{return h.e=Be(()=>a(t,d,f),tt),h.e.prev=n&&n.e,h.e.next=r&&r.e,n===null?e.first=h:(n.next=h,n.e.next=h.e),r!==null&&(r.prev=h,r.e.prev=h.e),h}finally{}}function Fs(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,i=e?e.e.nodes_start:n,o=t.e.nodes_start;o!==r;){var s=oe(o);i.before(o),o=s}}function De(t,e,n){e===null?t.first=n:(e.next=n,e.e.next=n&&n.e),n!==null&&(n.prev=e,n.e.prev=e&&e.e)}function bc(t,e,n,r,i){var o=t,s="",a;tn(()=>{if(s===(s=e()??"")){tt&&Pe();return}a!==void 0&&(Ne(a),a=void 0),s!==""&&(a=Be(()=>{if(tt){ot.data;for(var l=Pe(),u=l;l!==null&&(l.nodeType!==8||l.data!=="");)u=l,l=oe(l);if(l===null)throw mr(),un;xe(ot,u),o=Gt(l);return}var c=s+"";c=`<svg>${c}</svg>`;var d=Di(c);for(d=qt(d),xe(qt(d),d.lastChild);qt(d);)o.before(qt(d))}))})}function Us(t,e,n,r,i){var a;tt&&Pe();var o=(a=e.$$slots)==null?void 0:a[n],s=!1;o===!0&&(o=e.children,s=!0),o===void 0?i!==null&&i(t):o(t,s?()=>r:r)}function _c(t,e,...n){var r=t,i=Ft,o;tn(()=>{i!==(i=e())&&(o&&(Ne(o),o=null),o=Be(()=>i(r,...n)))},hn),tt&&(r=ot)}function Gs(t,e,n){tt&&Pe();var r=t,i,o;tn(()=>{i!==(i=e())&&(o&&(wr(o),o=null),i&&(o=Be(()=>n(r,i))))},hn),tt&&(r=ot)}function J(t,e){$n(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const i=document.createElement("style");i.id=e.hash,i.textContent=e.code,r.appendChild(i)}})}function Re(t){if(tt){var e=!1,n=()=>{if(!e){if(e=!0,t.hasAttribute("value")){var r=t.value;H(t,"value",null),t.value=r}if(t.hasAttribute("checked")){var i=t.checked;H(t,"checked",null),t.checked=i}}};t.__on_r=n,Gu(n),Ps()}}function H(t,e,n,r){var i=t.__attributes??(t.__attributes={});tt&&(i[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||i[e]!==(i[e]=n)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Au]=n),n==null?t.removeAttribute(e):typeof n!="string"&&Ui(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function Yn(t,e,n){var r=vt,i=et;se(null),Yt(null);try{Ui(t).includes(e)?t[e]=n:H(t,e,n)}finally{se(r),Yt(i)}}function Or(t,e,n,r,i=!1,o=!1,s=!1){var a=e||{},l=t.tagName==="OPTION";for(var u in e)u in n||(n[u]=null);r!==void 0&&(n.class=n.class?n.class+" "+r:r);var c=Ui(t),d=t.__attributes??(t.__attributes={});for(const _ in n){let w=n[_];if(l&&_==="value"&&w==null){t.value=t.__value="",a[_]=w;continue}var f=a[_];if(w!==f){a[_]=w;var h=_[0]+_[1];if(h!=="$$"){if(h==="on"){const A={},x="$$"+_;let k=_.slice(2);var b=lc(k);if(sc(k)&&(k=k.slice(0,-7),A.capture=!0),!b&&f){if(w!=null)continue;t.removeEventListener(k,a[x],A),a[x]=null}if(w!=null)if(b)t[`__${k}`]=w,ye([k]);else{let E=function(C){a[_].call(this,C)};a[x]=Ds(k,t,E,A)}else b&&(t[`__${k}`]=void 0)}else if(_==="style"&&w!=null)t.style.cssText=w+"";else if(_==="autofocus")nc(t,!!w);else if(_==="__value"||_==="value"&&w!=null)t.value=t[_]=t.__value=w;else{var g=_;i||(g=cc(g)),w==null&&!o?(d[_]=null,t.removeAttribute(_)):c.includes(g)&&(o||typeof w!="string")?t[g]=w:typeof w!="function"&&(tt&&(g==="src"||g==="href"||g==="srcset")||H(t,g,w))}_==="style"&&"__styles"in t&&(t.__styles={})}}}return a}var qs=new Map;function Ui(t){var e=qs.get(t.nodeName);if(e)return e;qs.set(t.nodeName,e=[]);for(var n,r=_r(t),i=Element.prototype;i!==r;){n=Jo(r);for(var o in n)n[o].set&&e.push(o);r=_r(r)}return e}function Vs(t,e){var n=t.__className,r=yc(e);tt&&t.className===r?t.__className=r:(n!==r||tt&&t.className!==r)&&(e==null?t.removeAttribute("class"):t.className=r,t.__className=r)}function yc(t){return t??""}function it(t,e,n){if(n){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}function Ys(t,e,n,r){var i=t.__styles??(t.__styles={});i[e]!==n&&(i[e]=n,n==null?t.style.removeProperty(e):t.style.setProperty(e,n,""))}const xc=()=>performance.now(),ze={tick:t=>requestAnimationFrame(t),now:()=>xc(),tasks:new Set};function Xs(){const t=ze.now();ze.tasks.forEach(e=>{e.c(t)||(ze.tasks.delete(e),e.f())}),ze.tasks.size!==0&&ze.tick(Xs)}function wc(t){let e;return ze.tasks.size===0&&ze.tick(Xs),{promise:new Promise(n=>{ze.tasks.add(e={c:t,f:n})}),abort(){ze.tasks.delete(e)}}}function Lr(t,e){t.dispatchEvent(new CustomEvent(e))}function kc(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(n=>n[0].toUpperCase()+n.slice(1)).join("")}function Js(t){const e={},n=t.split(";");for(const r of n){const[i,o]=r.split(":");if(!i||o===void 0)break;const s=kc(i.trim());e[s]=o.trim()}return e}const Ec=t=>t;function xn(t,e,n,r){var i=(t&gu)!==0,o=(t&bu)!==0,s=i&&o,a=(t&_u)!==0,l=s?"both":i?"in":"out",u,c=e.inert,d,f;function h(){var A=vt,x=et;se(null),Yt(null);try{return u??(u=n()(e,(r==null?void 0:r())??{},{direction:l}))}finally{se(A),Yt(x)}}var b={is_global:a,in(){var A;if(e.inert=c,!i){f==null||f.abort(),(A=f==null?void 0:f.reset)==null||A.call(f);return}o||d==null||d.abort(),Lr(e,"introstart"),d=Gi(e,h(),f,1,()=>{Lr(e,"introend"),d==null||d.abort(),d=u=void 0})},out(A){if(!o){A==null||A(),u=void 0;return}e.inert=!0,Lr(e,"outrostart"),f=Gi(e,h(),d,0,()=>{Lr(e,"outroend"),A==null||A()})},stop:()=>{d==null||d.abort(),f==null||f.abort()}},g=et;if((g.transitions??(g.transitions=[])).push(b),i&&Ri){var _=a;if(!_){for(var w=g.parent;w&&w.f&hn;)for(;(w=w.parent)&&!(w.f&yr););_=!w||(w.f&Zo)!==0}_&&Dn(()=>{_e(()=>b.in())})}}function Gi(t,e,n,r,i){var o=r===1;if(cn(e)){var s,a=!1;return $n(()=>{if(!a){var _=e({direction:o?"in":"out"});s=Gi(t,_,n,r,i)}}),{abort:()=>{a=!0,s==null||s.abort()},deactivate:()=>s.deactivate(),reset:()=>s.reset(),t:()=>s.t()}}if(n==null||n.deactivate(),!(e!=null&&e.duration))return i(),{abort:Ft,deactivate:Ft,reset:Ft,t:()=>r};const{delay:l=0,css:u,tick:c,easing:d=Ec}=e;var f=[];if(o&&n===void 0&&(c&&c(0,1),u)){var h=Js(u(0,1));f.push(h,h)}var b=()=>1-r,g=t.animate(f,{duration:l});return g.onfinish=()=>{var _=(n==null?void 0:n.t())??1-r;n==null||n.abort();var w=r-_,A=e.duration*Math.abs(w),x=[];if(A>0){if(u)for(var k=Math.ceil(A/16.666666666666668),E=0;E<=k;E+=1){var C=_+w*d(E/k),N=u(C,1-C);x.push(Js(N))}b=()=>{var z=g.currentTime;return _+w*d(z/A)},c&&wc(()=>{if(g.playState!=="running")return!1;var z=b();return c(z,1-z),!0})}g=t.animate(x,{duration:A,fill:"forwards"}),g.onfinish=()=>{b=()=>r,c==null||c(r,1-r),i()}},{abort:()=>{g&&(g.cancel(),g.effect=null,g.onfinish=Ft)},deactivate:()=>{i=Ft},reset:()=>{r===0&&(c==null||c(1,0))},t:()=>b()}}function $e(t,e,n=e){var r=Nr();Bs(t,"input",i=>{var o=i?t.defaultValue:t.value;o=qi(t)?Vi(o):o,n(o),r&&o!==(o=e())&&(t.value=o??"")}),(tt&&t.defaultValue!==t.value||_e(e)==null&&t.value)&&n(qi(t)?Vi(t.value):t.value),Rn(()=>{var i=e();qi(t)&&i===Vi(t.value)||t.type==="date"&&!i&&!t.value||i!==t.value&&(t.value=i??"")})}function qi(t){var e=t.type;return e==="number"||e==="range"}function Vi(t){return t===""?null:+t}function Ws(t,e,n){if(t.multiple)return Ac(t,e);for(var r of t.options){var i=Xn(r);if(Mu(i,e)){r.selected=!0;return}}(!n||e!==void 0)&&(t.selectedIndex=-1)}function Sc(t,e){Dn(()=>{var n=new MutationObserver(()=>{var r=t.__value;Ws(t,r)});return n.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{n.disconnect()}})}function Zs(t,e,n=e){var r=!0;Bs(t,"change",i=>{var o=i?"[selected]":":checked",s;if(t.multiple)s=[].map.call(t.querySelectorAll(o),Xn);else{var a=t.querySelector(o)??t.querySelector("option:not([disabled])");s=a&&Xn(a)}n(s)}),Dn(()=>{var i=e();if(Ws(t,i,r),r&&i===void 0){var o=t.querySelector(":checked");o!==null&&(i=Xn(o),n(i))}t.__value=i,r=!1}),Sc(t)}function Ac(t,e){for(var n of t.options)n.selected=~e.indexOf(Xn(n))}function Xn(t){return"__value"in t?t.__value:t.value}function Nt(t=!1){const e=ft,n=e.l.u;if(!n)return;let r=()=>Kt(e.s);if(t){let i=0,o={};const s=Mt(()=>{let a=!1;const l=e.s;for(const u in l)l[u]!==o[u]&&(o[u]=l[u],a=!0);return a&&i++,i});r=()=>v(s)}n.b.length&&$u(()=>{Qs(e,r),Pn(n.b)}),pn(()=>{const i=_e(()=>n.m.map(Eu));return()=>{for(const o of i)typeof o=="function"&&o()}}),n.a.length&&pn(()=>{Qs(e,r),Pn(n.a)})}function Qs(t,e){if(t.l.s)for(const n of t.l.s)v(n);e()}function Jn(t,e){var o;var n=(o=t.$$events)==null?void 0:o[e.type],r=Ln(n)?n.slice():n==null?[]:[n];for(var i of r)i.call(this,e)}function Fe(t){ft===null&&Ar(),dt&&ft.l!==null?ta(ft).m.push(t):pn(()=>{const e=_e(t);if(typeof e=="function")return e})}function Ks(t){ft===null&&Ar(),Fe(()=>()=>_e(t))}function Cc(t,e,{bubbles:n=!1,cancelable:r=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:r})}function Yi(){const t=ft;return t===null&&Ar(),(e,n,r)=>{var o;const i=(o=t.s.$$events)==null?void 0:o[e];if(i){const s=Ln(i)?i.slice():[i],a=Cc(e,n,r);for(const l of s)l.call(t.x,a);return!a.defaultPrevented}return!0}}function Tc(t){ft===null&&Ar(),ft.l===null&&ju(),ta(ft).a.push(t)}function ta(t){var e=t.l;return e.u??(e.u={a:[],b:[],m:[]})}function ea(t,e,n){if(t==null)return e(void 0),n&&n(void 0),Ft;const r=_e(()=>t.subscribe(e,n));return r.unsubscribe?()=>r.unsubscribe():r}let Pr=!1;function he(t,e,n){const r=n[e]??(n[e]={store:null,source:Mn(void 0),unsubscribe:Ft});if(r.store!==t)if(r.unsubscribe(),r.store=t??null,t==null)r.source.v=void 0,r.unsubscribe=Ft;else{var i=!0;r.unsubscribe=ea(t,o=>{i?r.source.v=o:T(r.source,o)}),i=!1}return v(r.source)}function ve(){const t={};return vs(()=>{for(var e in t)t[e].unsubscribe()}),t}function Nc(t){var e=Pr;try{return Pr=!1,[t(),Pr]}finally{Pr=e}}const zc={get(t,e){if(!t.exclude.includes(e))return v(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,n){return e in t.special||(t.special[e]=m({get[e](){return t.props[e]}},e,Yo)),t.special[e](n),Hi(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),Hi(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function Wn(t,e){return new Proxy({props:t,exclude:e,special:{},version:Ut(0)},zc)}const Ic={get(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(cn(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r)return r[e]}},set(t,e,n){let r=t.props.length;for(;r--;){let i=t.props[r];cn(i)&&(i=i());const o=Ae(i,e);if(o&&o.set)return o.set(n),!0}return!1},getOwnPropertyDescriptor(t,e){let n=t.props.length;for(;n--;){let r=t.props[n];if(cn(r)&&(r=r()),typeof r=="object"&&r!==null&&e in r){const i=Ae(r,e);return i&&!i.configurable&&(i.configurable=!0),i}}},has(t,e){if(e===Ce||e===ki)return!1;for(let n of t.props)if(cn(n)&&(n=n()),n!=null&&e in n)return!0;return!1},ownKeys(t){const e=[];for(let n of t.props){cn(n)&&(n=n());for(const r in n)e.includes(r)||e.push(r)}return e}};function na(...t){return new Proxy({props:t},Ic)}function ra(t){for(var e=et,n=et;e!==null&&!(e.f&(ce|Bn));)e=e.parent;try{return Yt(e),t()}finally{Yt(n)}}function m(t,e,n,r){var N;var i=(n&hu)!==0,o=!dt||(n&vu)!==0,s=(n&pu)!==0,a=(n&mu)!==0,l=!1,u;s?[u,l]=Nc(()=>t[e]):u=t[e];var c=Ce in t||ki in t,d=((N=Ae(t,e))==null?void 0:N.set)??(c&&s&&e in t?z=>t[e]=z:void 0),f=r,h=!0,b=!1,g=()=>(b=!0,h&&(h=!1,a?f=_e(r):f=r),f);u===void 0&&r!==void 0&&(d&&o&&Ou(),u=g(),d&&d(u));var _;if(o)_=()=>{var z=t[e];return z===void 0?g():(h=!0,b=!1,z)};else{var w=ra(()=>(i?Mt:zi)(()=>t[e]));w.f|=Su,_=()=>{var z=v(w);return z!==void 0&&(f=void 0),z===void 0?f:z}}if(!(n&Yo))return _;if(d){var A=t.$$legacy;return function(z,L){return arguments.length>0?((!o||!L||A||l)&&d(L?_():z),z):_()}}var x=!1,k=!1,E=Mn(u),C=ra(()=>Mt(()=>{var z=_(),L=v(E);return x?(x=!1,k=!0,L):(k=!1,E.v=z)}));return i||(C.equals=Ei),function(z,L){if(arguments.length>0){const F=L?v(C):o&&s?D(z):z;return C.equals(F)||(x=!0,T(E,F),b&&f!==void 0&&(f=F),_e(()=>v(C))),z}return v(C)}}function jc(t){return new Oc(t)}class Oc{constructor(e){Go(this,je);Go(this,le);var o;var n=new Map,r=(s,a)=>{var l=Mn(a);return n.set(s,l),l};const i=new Proxy({...e.props||{},$$events:{}},{get(s,a){return v(n.get(a)??r(a,Reflect.get(s,a)))},has(s,a){return a===ki?!0:(v(n.get(a)??r(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return T(n.get(a)??r(a,l),l),Reflect.set(s,a,l)}});qo(this,le,(e.hydrate?hc:$i)(e.component,{target:e.target,anchor:e.anchor,props:i,context:e.context,intro:e.intro??!1,recover:e.recover})),(!((o=e==null?void 0:e.props)!=null&&o.$$host)||e.sync===!1)&&p(),qo(this,je,i.$$events);for(const s of Object.keys(Wt(this,le)))s==="$set"||s==="$destroy"||s==="$on"||br(this,s,{get(){return Wt(this,le)[s]},set(a){Wt(this,le)[s]=a},enumerable:!0});Wt(this,le).$set=s=>{Object.assign(i,s)},Wt(this,le).$destroy=()=>{vc(Wt(this,le))}}$set(e){Wt(this,le).$set(e)}$on(e,n){Wt(this,je)[e]=Wt(this,je)[e]||[];const r=(...i)=>n.call(this,...i);return Wt(this,je)[e].push(r),()=>{Wt(this,je)[e]=Wt(this,je)[e].filter(i=>i!==r)}}$destroy(){Wt(this,le).$destroy()}}je=new WeakMap,le=new WeakMap;let ia;typeof HTMLElement=="function"&&(ia=class extends HTMLElement{constructor(e,n,r){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);$(this,"$$me");this.$$ctor=e,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(e,n,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const i=this.$$c.$on(e,n);this.$$l_u.set(n,i)}super.addEventListener(e,n,r)}removeEventListener(e,n,r){if(super.removeEventListener(e,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return o=>{const s=document.createElement("slot");i!=="default"&&(s.name=i),I(o,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Lc(this);for(const i of this.$$s)i in r&&(i==="default"&&!this.$$d.children?(this.$$d.children=e(i),n.default=!0):n[i]=e(i));for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=Hr(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=jc({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$host:this}}),this.$$me=ps(()=>{Rn(()=>{var i;this.$$r=!0;for(const o of gr(this.$$c)){if(!((i=this.$$p_d[o])!=null&&i.reflect))continue;this.$$d[o]=this.$$c[o];const s=Hr(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1})});for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}}attributeChangedCallback(e,n,r){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=Hr(e,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return gr(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function Hr(t,e,n,r){var o;const i=(o=n[t])==null?void 0:o.type;if(e=i==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(i){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(i){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Lc(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function q(t,e,n,r,i,o){let s=class extends ia{constructor(){super(t,n,i),this.$$p_d=e}static get observedAttributes(){return gr(e).map(a=>(e[a].attribute||a).toLowerCase())}};return gr(e).forEach(a=>{br(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var d;l=Hr(a,l,e),this.$$d[a]=l;var u=this.$$c;if(u){var c=(d=Ae(u,a))==null?void 0:d.get;c?u[a]=l:u.$set({[a]:l})}}})}),r.forEach(a=>{br(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),t.element=s,s}const wn=[];function oa(t,e){return{subscribe:kn(t,e).subscribe}}function kn(t,e=Ft){let n=null;const r=new Set;function i(a){if(es(t,a)&&(t=a,n)){const l=!wn.length;for(const u of r)u[1](),wn.push(u,t);if(l){for(let u=0;u<wn.length;u+=2)wn[u][0](wn[u+1]);wn.length=0}}}function o(a){i(a(t))}function s(a,l=Ft){const u=[a,l];return r.add(u),r.size===1&&(n=e(i,o)||Ft),a(t),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:o,subscribe:s}}function Ue(t,e,n){const r=!Array.isArray(t),i=r?[t]:t;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=e.length<2;return oa(n,(s,a)=>{let l=!1;const u=[];let c=0,d=Ft;const f=()=>{if(c)return;d();const b=e(r?u[0]:u,s,a);o?s(b):d=typeof b=="function"?b:Ft},h=i.map((b,g)=>ea(b,_=>{u[g]=_,c&=~(1<<g),l&&f()},()=>{c|=1<<g}));return l=!0,f(),function(){Pn(h),d(),l=!1}})}function Pc(t,e){if(t instanceof RegExp)return{keys:!1,pattern:t};var n,r,i,o,s=[],a="",l=t.split("/");for(l[0]||l.shift();i=l.shift();)n=i[0],n==="*"?(s.push("wild"),a+="/(.*)"):n===":"?(r=i.indexOf("?",1),o=i.indexOf(".",1),s.push(i.substring(1,~r?r:~o?o:i.length)),a+=~r&&!~o?"(?:/([^/]+?))?":"/([^/]+?)",~o&&(a+=(~r?"?":"")+"\\"+i.substring(o))):a+="/"+i;return{keys:s,pattern:new RegExp("^"+a+"/?$","i")}}function sa(){const t=window.location.href.indexOf("#/");let e=t>-1?window.location.href.substr(t+1):"/";const n=e.indexOf("?");let r="";return n>-1&&(r=e.substr(n+1),e=e.substr(0,n)),{location:e,querystring:r}}const Xi=oa(null,function(e){e(sa());const n=()=>{e(sa())};return window.addEventListener("hashchange",n,!1),function(){window.removeEventListener("hashchange",n,!1)}});Ue(Xi,t=>t.location),Ue(Xi,t=>t.querystring);const aa=kn(void 0);async function Hc(t){if(t.length<1||t.charAt(0)!="/"&&t.indexOf("#/")!==0)throw Error("Invalid parameter location");await Os(),history.replaceState({...history.state,__svelte_spa_router_scrollX:window.scrollX,__svelte_spa_router_scrollY:window.scrollY},void 0),window.location.hash=(t.charAt(0)=="#"?"":"#")+t}function Bc(t){t?window.scrollTo(t.__svelte_spa_router_scrollX,t.__svelte_spa_router_scrollY):window.scrollTo(0,0)}function la(t,e){U(e,!1);let n=m(e,"routes",28,()=>({})),r=m(e,"prefix",12,""),i=m(e,"restoreScrollState",12,!1);class o{constructor(C,N){if(!N||typeof N!="function"&&(typeof N!="object"||N._sveltesparouter!==!0))throw Error("Invalid component object");if(!C||typeof C=="string"&&(C.length<1||C.charAt(0)!="/"&&C.charAt(0)!="*")||typeof C=="object"&&!(C instanceof RegExp))throw Error('Invalid value for "path" argument - strings must start with / or *');const{pattern:z,keys:L}=Pc(C);this.path=C,typeof N=="object"&&N._sveltesparouter===!0?(this.component=N.component,this.conditions=N.conditions||[],this.userData=N.userData,this.props=N.props||{}):(this.component=()=>Promise.resolve(N),this.conditions=[],this.props={}),this._pattern=z,this._keys=L}match(C){if(r()){if(typeof r()=="string")if(C.startsWith(r()))C=C.substr(r().length)||"/";else return null;else if(r()instanceof RegExp){const F=C.match(r());if(F&&F[0])C=C.substr(F[0].length)||"/";else return null}}const N=this._pattern.exec(C);if(N===null)return null;if(this._keys===!1)return N;const z={};let L=0;for(;L<this._keys.length;){try{z[this._keys[L]]=decodeURIComponent(N[L+1]||"")||null}catch{z[this._keys[L]]=null}L++}return z}async checkConditions(C){for(let N=0;N<this.conditions.length;N++)if(!await this.conditions[N](C))return!1;return!0}}const s=[];n()instanceof Map?n().forEach((E,C)=>{s.push(new o(C,E))}):Object.keys(n()).forEach(E=>{s.push(new o(E,n()[E]))});let a=Zt(null),l=Zt(null),u=Zt({});const c=Yi();async function d(E,C){await Os(),c(E,C)}let f=null,h=null;i()&&(h=E=>{E.state&&(E.state.__svelte_spa_router_scrollY||E.state.__svelte_spa_router_scrollX)?f=E.state:f=null},window.addEventListener("popstate",h),Tc(()=>{Bc(f)}));let b=null,g=null;const _=Xi.subscribe(async E=>{b=E;let C=0;for(;C<s.length;){const N=s[C].match(E.location);if(!N){C++;continue}const z={route:s[C].path,location:E.location,querystring:E.querystring,userData:s[C].userData,params:N&&typeof N=="object"&&Object.keys(N).length?N:null};if(!await s[C].checkConditions(z)){T(a,null),g=null,d("conditionsFailed",z);return}d("routeLoading",Object.assign({},z));const L=s[C].component;if(g!=L){L.loading?(T(a,L.loading),g=L,T(l,L.loadingParams),T(u,{}),d("routeLoaded",Object.assign({},z,{component:v(a),name:v(a).name,params:v(l)}))):(T(a,null),g=null);const F=await L();if(E!=b)return;T(a,F&&F.default||F),g=L}N&&typeof N=="object"&&Object.keys(N).length?T(l,N):T(l,null),T(u,s[C].props),d("routeLoaded",Object.assign({},z,{component:v(a),name:v(a).name,params:v(l)})).then(()=>{aa.set(v(l))});return}T(a,null),g=null,aa.set(void 0)});Ks(()=>{_(),h&&window.removeEventListener("popstate",h)}),Te(()=>Kt(i()),()=>{history.scrollRestoration=i()?"manual":"auto"}),He(),Nt();var w=we(),A=Vt(w);{var x=E=>{var C=we(),N=Vt(C);Gs(N,()=>v(a),(z,L)=>{L(z,na({get params(){return v(l)}},()=>v(u),{$$events:{routeEvent(F){Jn.call(this,e,F)}}}))}),I(E,C)},k=E=>{var C=we(),N=Vt(C);Gs(N,()=>v(a),(z,L)=>{L(z,na(()=>v(u),{$$events:{routeEvent(F){Jn.call(this,e,F)}}}))}),I(E,C)};gt(A,E=>{v(l)?E(x):E(k,!1)})}return I(t,w),G({get routes(){return n()},set routes(E){n(E),p()},get prefix(){return r()},set prefix(E){r(E),p()},get restoreScrollState(){return i()},set restoreScrollState(E){i(E),p()}})}q(la,{routes:{},prefix:{},restoreScrollState:{}},[],[],!0);function Mc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Dc=function(e){return Rc(e)&&!$c(e)};function Rc(t){return!!t&&typeof t=="object"}function $c(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Gc(t)}var Fc=typeof Symbol=="function"&&Symbol.for,Uc=Fc?Symbol.for("react.element"):60103;function Gc(t){return t.$$typeof===Uc}function qc(t){return Array.isArray(t)?[]:{}}function Zn(t,e){return e.clone!==!1&&e.isMergeableObject(t)?En(qc(t),t,e):t}function Vc(t,e,n){return t.concat(e).map(function(r){return Zn(r,n)})}function Yc(t,e){if(!e.customMerge)return En;var n=e.customMerge(t);return typeof n=="function"?n:En}function Xc(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function ua(t){return Object.keys(t).concat(Xc(t))}function ca(t,e){try{return e in t}catch{return!1}}function Jc(t,e){return ca(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function Wc(t,e,n){var r={};return n.isMergeableObject(t)&&ua(t).forEach(function(i){r[i]=Zn(t[i],n)}),ua(e).forEach(function(i){Jc(t,i)||(ca(t,i)&&n.isMergeableObject(e[i])?r[i]=Yc(i,n)(t[i],e[i],n):r[i]=Zn(e[i],n))}),r}function En(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||Vc,n.isMergeableObject=n.isMergeableObject||Dc,n.cloneUnlessOtherwiseSpecified=Zn;var r=Array.isArray(e),i=Array.isArray(t),o=r===i;return o?r?n.arrayMerge(t,e,n):Wc(t,e,n):Zn(e,n)}En.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,i){return En(r,i,n)},{})};var Zc=En,Qc=Zc;const Kc=Mc(Qc);var Ji=function(t,e){return Ji=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Ji(t,e)};function Br(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ji(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ct=function(){return ct=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ct.apply(this,arguments)};function td(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function Wi(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function Zi(t,e){var n=e&&e.cache?e.cache:ad,r=e&&e.serializer?e.serializer:od,i=e&&e.strategy?e.strategy:nd;return i(t,{cache:n,serializer:r})}function ed(t){return t==null||typeof t=="number"||typeof t=="boolean"}function da(t,e,n,r){var i=ed(r)?r:n(r),o=e.get(i);return typeof o>"u"&&(o=t.call(this,r),e.set(i,o)),o}function fa(t,e,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=e.get(i);return typeof o>"u"&&(o=t.apply(this,r),e.set(i,o)),o}function Qi(t,e,n,r,i){return n.bind(e,t,r,i)}function nd(t,e){var n=t.length===1?da:fa;return Qi(t,this,n,e.cache.create(),e.serializer)}function rd(t,e){return Qi(t,this,fa,e.cache.create(),e.serializer)}function id(t,e){return Qi(t,this,da,e.cache.create(),e.serializer)}var od=function(){return JSON.stringify(arguments)},sd=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(e){return this.cache[e]},t.prototype.set=function(e,n){this.cache[e]=n},t}(),ad={create:function(){return new sd}},Ki={variadic:rd,monadic:id},st;(function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(st||(st={}));var wt;(function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"})(wt||(wt={}));var Sn;(function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"})(Sn||(Sn={}));function ha(t){return t.type===wt.literal}function ld(t){return t.type===wt.argument}function va(t){return t.type===wt.number}function pa(t){return t.type===wt.date}function ma(t){return t.type===wt.time}function ga(t){return t.type===wt.select}function ba(t){return t.type===wt.plural}function ud(t){return t.type===wt.pound}function _a(t){return t.type===wt.tag}function ya(t){return!!(t&&typeof t=="object"&&t.type===Sn.number)}function to(t){return!!(t&&typeof t=="object"&&t.type===Sn.dateTime)}var xa=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cd=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function dd(t){var e={};return t.replace(cd,function(n){var r=n.length;switch(n[0]){case"G":e.era=r===4?"long":r===5?"narrow":"short";break;case"y":e.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),e}var fd=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hd(t){if(t.length===0)throw new Error("Number skeleton cannot be empty");for(var e=t.split(fd).filter(function(f){return f.length>0}),n=[],r=0,i=e;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var d=c[u];if(d.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:l})}return n}function vd(t){return t.replace(/^(.*?)-/,"")}var wa=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ka=/^(@+)?(\+|#+)?[rs]?$/g,pd=/(\*)(0+)|(#+)(0+)|(0+)/g,Ea=/^(0+)$/;function Sa(t){var e={};return t[t.length-1]==="r"?e.roundingPriority="morePrecision":t[t.length-1]==="s"&&(e.roundingPriority="lessPrecision"),t.replace(ka,function(n,r,i){return typeof i!="string"?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):i==="+"?e.minimumSignificantDigits=r.length:r[0]==="#"?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),e}function Aa(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function md(t){var e;if(t[0]==="E"&&t[1]==="E"?(e={notation:"engineering"},t=t.slice(2)):t[0]==="E"&&(e={notation:"scientific"},t=t.slice(1)),e){var n=t.slice(0,2);if(n==="+!"?(e.signDisplay="always",t=t.slice(2)):n==="+?"&&(e.signDisplay="exceptZero",t=t.slice(2)),!Ea.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function Ca(t){var e={},n=Aa(t);return n||e}function gd(t){for(var e={},n=0,r=t;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=vd(i.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=ct(ct(ct({},e),{notation:"scientific"}),i.options.reduce(function(l,u){return ct(ct({},l),Ca(u))},{}));continue;case"engineering":e=ct(ct(ct({},e),{notation:"engineering"}),i.options.reduce(function(l,u){return ct(ct({},l),Ca(u))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(pd,function(l,u,c,d,f,h){if(u)e.minimumIntegerDigits=c.length;else{if(d&&f)throw new Error("We currently do not support maximum integer digits");if(h)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ea.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(wa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wa,function(l,u,c,d,f,h){return c==="*"?e.minimumFractionDigits=u.length:d&&d[0]==="#"?e.maximumFractionDigits=d.length:f&&h?(e.minimumFractionDigits=f.length,e.maximumFractionDigits=f.length+h.length):(e.minimumFractionDigits=u.length,e.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?e=ct(ct({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=ct(ct({},e),Sa(o)));continue}if(ka.test(i.stem)){e=ct(ct({},e),Sa(i.stem));continue}var s=Aa(i.stem);s&&(e=ct(ct({},e),s));var a=md(i.stem);a&&(e=ct(ct({},e),a))}return e}var Mr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function bd(t,e){for(var n="",r=0;r<t.length;r++){var i=t.charAt(r);if(i==="j"){for(var o=0;r+1<t.length&&t.charAt(r+1)===i;)o++,r++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=_d(e);for((u=="H"||u=="k")&&(a=0);a-- >0;)n+=l;for(;s-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function _d(t){var e=t.hourCycle;if(e===void 0&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=t.language,r;n!=="root"&&(r=t.maximize().region);var i=Mr[r||""]||Mr[n||""]||Mr["".concat(n,"-001")]||Mr["001"];return i[0]}var eo,yd=new RegExp("^".concat(xa.source,"*")),xd=new RegExp("".concat(xa.source,"*$"));function at(t,e){return{start:t,end:e}}var wd=!!String.prototype.startsWith&&"_a".startsWith("a",1),kd=!!String.fromCodePoint,Ed=!!Object.fromEntries,Sd=!!String.prototype.codePointAt,Ad=!!String.prototype.trimStart,Cd=!!String.prototype.trimEnd,Td=!!Number.isSafeInteger,Nd=Td?Number.isSafeInteger:function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},no=!0;try{var zd=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");no=((eo=zd.exec("a"))===null||eo===void 0?void 0:eo[0])==="a"}catch{no=!1}var Ta=wd?function(e,n,r){return e.startsWith(n,r)}:function(e,n,r){return e.slice(r,r+n.length)===n},ro=kd?String.fromCodePoint:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r="",i=e.length,o=0,s;i>o;){if(s=e[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Na=Ed?Object.fromEntries:function(e){for(var n={},r=0,i=e;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},za=Sd?function(e,n){return e.codePointAt(n)}:function(e,n){var r=e.length;if(!(n<0||n>=r)){var i=e.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=e.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Id=Ad?function(e){return e.trimStart()}:function(e){return e.replace(yd,"")},jd=Cd?function(e){return e.trimEnd()}:function(e){return e.replace(xd,"")};function Ia(t,e){return new RegExp(t,e)}var io;if(no){var ja=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");io=function(e,n){var r;ja.lastIndex=n;var i=ja.exec(e);return(r=i[1])!==null&&r!==void 0?r:""}}else io=function(e,n){for(var r=[];;){var i=za(e,n);if(i===void 0||Oa(i)||Hd(i))break;r.push(i),n+=i>=65536?2:1}return ro.apply(void 0,r)};var Od=function(){function t(e,n){n===void 0&&(n={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return t.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(e,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(e,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&e>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:wt.pound,location:at(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(st.UNMATCHED_CLOSING_TAG,at(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&oo(this.peek()||0)){var s=this.parseTag(e,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(e,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},t.prototype.parseTag=function(e,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:wt.literal,value:"<".concat(i,"/>"),location:at(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!oo(this.char()))return this.error(st.INVALID_TAG,at(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(st.UNMATCHED_CLOSING_TAG,at(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:wt.tag,value:i,children:s,location:at(r,this.clonePosition())},err:null}:this.error(st.INVALID_TAG,at(a,this.clonePosition())))}else return this.error(st.UNCLOSED_TAG,at(r,this.clonePosition()))}else return this.error(st.INVALID_TAG,at(r,this.clonePosition()))},t.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Pd(this.char());)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(e,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(e,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=at(r,this.clonePosition());return{val:{type:wt.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ld(this.peek()||0))?(this.bump(),"<"):null},t.prototype.tryParseQuote=function(e){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return ro.apply(void 0,n)},t.prototype.tryParseUnquoted=function(e,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&e>0?null:(this.bump(),ro(r))},t.prototype.parseArgument=function(e,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(st.EXPECT_ARGUMENT_CLOSING_BRACE,at(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(st.EMPTY_ARGUMENT,at(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(st.MALFORMED_ARGUMENT,at(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(st.EXPECT_ARGUMENT_CLOSING_BRACE,at(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:wt.argument,value:i,location:at(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(st.EXPECT_ARGUMENT_CLOSING_BRACE,at(r,this.clonePosition())):this.parseArgumentOptions(e,n,i,r);default:return this.error(st.MALFORMED_ARGUMENT,at(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),n=this.offset(),r=io(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=at(e,o);return{value:r,location:s}},t.prototype.parseArgumentOptions=function(e,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(st.EXPECT_ARGUMENT_TYPE,at(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=jd(d.val);if(f.length===0)return this.error(st.EXPECT_ARGUMENT_STYLE,at(this.clonePosition(),this.clonePosition()));var h=at(c,this.clonePosition());u={style:f,styleLocation:h}}var b=this.tryParseArgumentClose(i);if(b.err)return b;var g=at(i,this.clonePosition());if(u&&Ta(u==null?void 0:u.style,"::",0)){var _=Id(u.style.slice(2));if(a==="number"){var d=this.parseNumberSkeletonFromString(_,u.styleLocation);return d.err?d:{val:{type:wt.number,value:r,location:g,style:d.val},err:null}}else{if(_.length===0)return this.error(st.EXPECT_DATE_TIME_SKELETON,g);var w=_;this.locale&&(w=bd(_,this.locale));var f={type:Sn.dateTime,pattern:w,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?dd(w):{}},A=a==="date"?wt.date:wt.time;return{val:{type:A,value:r,location:g,style:f},err:null}}}return{val:{type:a==="number"?wt.number:a==="date"?wt.date:wt.time,value:r,location:g,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(st.EXPECT_SELECT_ARGUMENT_OPTIONS,at(x,ct({},x)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),E=0;if(a!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(st.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,at(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(st.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,st.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),E=d.val}var C=this.tryParsePluralOrSelectOptions(e,a,n,k);if(C.err)return C;var b=this.tryParseArgumentClose(i);if(b.err)return b;var N=at(i,this.clonePosition());return a==="select"?{val:{type:wt.select,value:r,options:Na(C.val),location:N},err:null}:{val:{type:wt.plural,value:r,options:Na(C.val),offset:E,pluralType:a==="plural"?"cardinal":"ordinal",location:N},err:null}}default:return this.error(st.INVALID_ARGUMENT_TYPE,at(s,l))}},t.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(st.EXPECT_ARGUMENT_CLOSING_BRACE,at(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(st.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,at(i,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(e,n){var r=[];try{r=hd(e)}catch{return this.error(st.INVALID_NUMBER_SKELETON,n)}return{val:{type:Sn.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?gd(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(e,n,r,i){for(var o,s=!1,a=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(st.EXPECT_PLURAL_ARGUMENT_SELECTOR,st.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=at(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?st.DUPLICATE_SELECT_ARGUMENT_SELECTOR:st.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?st.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:st.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,at(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(e+1,n,r);if(b.err)return b;var g=this.tryParseArgumentClose(h);if(g.err)return g;a.push([u,{value:b.val,location:at(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,c=o.location}return a.length===0?this.error(n==="select"?st.EXPECT_SELECT_ARGUMENT_SELECTOR:st.EXPECT_PLURAL_ARGUMENT_SELECTOR,at(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(st.MISSING_OTHER_CLAUSE,at(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(e,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=at(i,this.clonePosition());return o?(s*=r,Nd(s)?{val:s,err:null}:this.error(n,l)):this.error(e,l)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var n=za(this.message,e);if(n===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return n},t.prototype.error=function(e,n){return{val:null,err:{kind:e,message:this.message,location:n}}},t.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},t.prototype.bumpIf=function(e){if(Ta(this.message,e,this.offset())){for(var n=0;n<e.length;n++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(e){var n=this.offset(),r=this.message.indexOf(e,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var n=this.offset();if(n===e)break;if(n>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Oa(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(e>=65536?2:1));return r??null},t}();function oo(t){return t>=97&&t<=122||t>=65&&t<=90}function Ld(t){return oo(t)||t===47}function Pd(t){return t===45||t===46||t>=48&&t<=57||t===95||t>=97&&t<=122||t>=65&&t<=90||t==183||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Oa(t){return t>=9&&t<=13||t===32||t===133||t>=8206&&t<=8207||t===8232||t===8233}function Hd(t){return t>=33&&t<=35||t===36||t>=37&&t<=39||t===40||t===41||t===42||t===43||t===44||t===45||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||t===91||t===92||t===93||t===94||t===96||t===123||t===124||t===125||t===126||t===161||t>=162&&t<=165||t===166||t===167||t===169||t===171||t===172||t===174||t===176||t===177||t===182||t===187||t===191||t===215||t===247||t>=8208&&t<=8213||t>=8214&&t<=8215||t===8216||t===8217||t===8218||t>=8219&&t<=8220||t===8221||t===8222||t===8223||t>=8224&&t<=8231||t>=8240&&t<=8248||t===8249||t===8250||t>=8251&&t<=8254||t>=8257&&t<=8259||t===8260||t===8261||t===8262||t>=8263&&t<=8273||t===8274||t===8275||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||t===8608||t>=8609&&t<=8610||t===8611||t>=8612&&t<=8613||t===8614||t>=8615&&t<=8621||t===8622||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||t===8658||t===8659||t===8660||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||t===8968||t===8969||t===8970||t===8971||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||t===9001||t===9002||t>=9003&&t<=9083||t===9084||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||t===9655||t>=9656&&t<=9664||t===9665||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||t===9839||t>=9840&&t<=10087||t===10088||t===10089||t===10090||t===10091||t===10092||t===10093||t===10094||t===10095||t===10096||t===10097||t===10098||t===10099||t===10100||t===10101||t>=10132&&t<=10175||t>=10176&&t<=10180||t===10181||t===10182||t>=10183&&t<=10213||t===10214||t===10215||t===10216||t===10217||t===10218||t===10219||t===10220||t===10221||t===10222||t===10223||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||t===10627||t===10628||t===10629||t===10630||t===10631||t===10632||t===10633||t===10634||t===10635||t===10636||t===10637||t===10638||t===10639||t===10640||t===10641||t===10642||t===10643||t===10644||t===10645||t===10646||t===10647||t===10648||t>=10649&&t<=10711||t===10712||t===10713||t===10714||t===10715||t>=10716&&t<=10747||t===10748||t===10749||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||t===11158||t>=11159&&t<=11263||t>=11776&&t<=11777||t===11778||t===11779||t===11780||t===11781||t>=11782&&t<=11784||t===11785||t===11786||t===11787||t===11788||t===11789||t>=11790&&t<=11798||t===11799||t>=11800&&t<=11801||t===11802||t===11803||t===11804||t===11805||t>=11806&&t<=11807||t===11808||t===11809||t===11810||t===11811||t===11812||t===11813||t===11814||t===11815||t===11816||t===11817||t>=11818&&t<=11822||t===11823||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||t===11840||t===11841||t===11842||t>=11843&&t<=11855||t>=11856&&t<=11857||t===11858||t>=11859&&t<=11903||t>=12289&&t<=12291||t===12296||t===12297||t===12298||t===12299||t===12300||t===12301||t===12302||t===12303||t===12304||t===12305||t>=12306&&t<=12307||t===12308||t===12309||t===12310||t===12311||t===12312||t===12313||t===12314||t===12315||t===12316||t===12317||t>=12318&&t<=12319||t===12320||t===12336||t===64830||t===64831||t>=65093&&t<=65094}function so(t){t.forEach(function(e){if(delete e.location,ga(e)||ba(e))for(var n in e.options)delete e.options[n].location,so(e.options[n].value);else va(e)&&ya(e.style)||(pa(e)||ma(e))&&to(e.style)?delete e.style.location:_a(e)&&so(e.children)})}function Bd(t,e){e===void 0&&(e={}),e=ct({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var n=new Od(t,e).parse();if(n.err){var r=SyntaxError(st[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return e!=null&&e.captureLocation||so(n.val),n.val}var An;(function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"})(An||(An={}));var Dr=function(t){Br(e,t);function e(n,r,i){var o=t.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),La=function(t){Br(e,t);function e(n,r,i,o){return t.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),An.INVALID_VALUE,o)||this}return e}(Dr),Md=function(t){Br(e,t);function e(n,r,i){return t.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),An.INVALID_VALUE,i)||this}return e}(Dr),Dd=function(t){Br(e,t);function e(n,r){return t.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),An.MISSING_VALUE,r)||this}return e}(Dr),Dt;(function(t){t[t.literal=0]="literal",t[t.object=1]="object"})(Dt||(Dt={}));function Rd(t){return t.length<2?t:t.reduce(function(e,n){var r=e[e.length-1];return!r||r.type!==Dt.literal||n.type!==Dt.literal?e.push(n):r.value+=n.value,e},[])}function $d(t){return typeof t=="function"}function Rr(t,e,n,r,i,o,s){if(t.length===1&&ha(t[0]))return[{type:Dt.literal,value:t[0].value}];for(var a=[],l=0,u=t;l<u.length;l++){var c=u[l];if(ha(c)){a.push({type:Dt.literal,value:c.value});continue}if(ud(c)){typeof o=="number"&&a.push({type:Dt.literal,value:n.getNumberFormat(e).format(o)});continue}var d=c.value;if(!(i&&d in i))throw new Dd(d,s);var f=i[d];if(ld(c)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?Dt.literal:Dt.object,value:f});continue}if(pa(c)){var h=typeof c.style=="string"?r.date[c.style]:to(c.style)?c.style.parsedOptions:void 0;a.push({type:Dt.literal,value:n.getDateTimeFormat(e,h).format(f)});continue}if(ma(c)){var h=typeof c.style=="string"?r.time[c.style]:to(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Dt.literal,value:n.getDateTimeFormat(e,h).format(f)});continue}if(va(c)){var h=typeof c.style=="string"?r.number[c.style]:ya(c.style)?c.style.parsedOptions:void 0;h&&h.scale&&(f=f*(h.scale||1)),a.push({type:Dt.literal,value:n.getNumberFormat(e,h).format(f)});continue}if(_a(c)){var b=c.children,g=c.value,_=i[g];if(!$d(_))throw new Md(g,"function",s);var w=Rr(b,e,n,r,i,o),A=_(w.map(function(E){return E.value}));Array.isArray(A)||(A=[A]),a.push.apply(a,A.map(function(E){return{type:typeof E=="string"?Dt.literal:Dt.object,value:E}}))}if(ga(c)){var x=c.options[f]||c.options.other;if(!x)throw new La(c.value,f,Object.keys(c.options),s);a.push.apply(a,Rr(x.value,e,n,r,i));continue}if(ba(c)){var x=c.options["=".concat(f)];if(!x){if(!Intl.PluralRules)throw new Dr(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,An.MISSING_INTL_API,s);var k=n.getPluralRules(e,{type:c.pluralType}).select(f-(c.offset||0));x=c.options[k]||c.options.other}if(!x)throw new La(c.value,f,Object.keys(c.options),s);a.push.apply(a,Rr(x.value,e,n,r,i,f-(c.offset||0)));continue}}return Rd(a)}function Fd(t,e){return e?ct(ct(ct({},t||{}),e||{}),Object.keys(t).reduce(function(n,r){return n[r]=ct(ct({},t[r]),e[r]||{}),n},{})):t}function Ud(t,e){return e?Object.keys(t).reduce(function(n,r){return n[r]=Fd(t[r],e[r]),n},ct({},t)):t}function ao(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,n){t[e]=n}}}}}function Gd(t){return t===void 0&&(t={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Zi(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Wi([void 0],n,!1)))},{cache:ao(t.number),strategy:Ki.variadic}),getDateTimeFormat:Zi(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Wi([void 0],n,!1)))},{cache:ao(t.dateTime),strategy:Ki.variadic}),getPluralRules:Zi(function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Wi([void 0],n,!1)))},{cache:ao(t.pluralRules),strategy:Ki.variadic})}}var Pa=function(){function t(e,n,r,i){n===void 0&&(n=t.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(d,f){return!d.length||f.type!==Dt.literal||typeof d[d.length-1]!="string"?d.push(f.value):d[d.length-1]+=f.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Rr(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=t.resolveLocale(n),typeof e=="string"){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=td(s,["formatters"]);this.ast=t.__parse(e,ct(ct({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ud(t.formats,r),this.formatters=i&&i.formatters||Gd(this.formatterCache)}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(e);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},t.__parse=Bd,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();function qd(t,e){if(e==null)return;if(e in t)return t[e];const n=e.split(".");let r=t;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const o=n.slice(i,n.length).join(".");if(o in r){r=r[o];break}}r=r[n[i]]}else r=void 0;return r}const Ge={},Vd=(t,e,n)=>n&&(e in Ge||(Ge[e]={}),t in Ge[e]||(Ge[e][t]=n),n),Ha=(t,e)=>{if(e==null)return;if(e in Ge&&t in Ge[e])return Ge[e][t];const n=er(e);for(let r=0;r<n.length;r++){const i=n[r],o=Xd(i,t);if(o)return Vd(t,e,o)}};let lo;const Qn=kn({});function Yd(t){return lo[t]||null}function Ba(t){return t in lo}function Xd(t,e){if(!Ba(t))return null;const n=Yd(t);return qd(n,e)}function Jd(t){if(t==null)return;const e=er(t);for(let n=0;n<e.length;n++){const r=e[n];if(Ba(r))return r}}function uo(t,...e){delete Ge[t],Qn.update(n=>(n[t]=Kc.all([n[t]||{},...e]),n))}Ue([Qn],([t])=>Object.keys(t)),Qn.subscribe(t=>lo=t);const $r={};function Wd(t,e){$r[t].delete(e),$r[t].size===0&&delete $r[t]}function Ma(t){return $r[t]}function Zd(t){return er(t).map(e=>{const n=Ma(e);return[e,n?[...n]:[]]}).filter(([,e])=>e.length>0)}function Fr(t){return t==null?!1:er(t).some(e=>{var n;return(n=Ma(e))==null?void 0:n.size})}function Qd(t,e){return Promise.all(e.map(r=>(Wd(t,r),r().then(i=>i.default||i)))).then(r=>uo(t,...r))}const Kn={};function Da(t){if(!Fr(t))return t in Kn?Kn[t]:Promise.resolve();const e=Zd(t);return Kn[t]=Promise.all(e.map(([n,r])=>Qd(n,r))).then(()=>{if(Fr(t))return Da(t);delete Kn[t]}),Kn[t]}var Ra=Object.getOwnPropertySymbols,Kd=Object.prototype.hasOwnProperty,tf=Object.prototype.propertyIsEnumerable,ef=(t,e)=>{var n={};for(var r in t)Kd.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&Ra)for(var r of Ra(t))e.indexOf(r)<0&&tf.call(t,r)&&(n[r]=t[r]);return n};const nf={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function rf({locale:t,id:e}){console.warn(`[svelte-i18n] The message "${e}" was not found in "${er(t).join('", "')}".${Fr(qe())?`
|
|
4
|
+
|
|
5
|
+
Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const tr={fallbackLocale:null,loadingDelay:200,formats:nf,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Cn(){return tr}function of(t){const e=t,{formats:n}=e,r=ef(e,["formats"]);let i=t.fallbackLocale;if(t.initialLocale)try{Pa.resolveLocale(t.initialLocale)&&(i=t.initialLocale)}catch{console.warn(`[svelte-i18n] The initial locale "${t.initialLocale}" is not a valid locale.`)}return r.warnOnMissingMessages&&(delete r.warnOnMissingMessages,r.handleMissingMessage==null?r.handleMissingMessage=rf:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(tr,r,{initialLocale:i}),n&&("number"in n&&Object.assign(tr.formats.number,n.number),"date"in n&&Object.assign(tr.formats.date,n.date),"time"in n&&Object.assign(tr.formats.time,n.time)),Tn.set(i)}const co=kn(!1);var sf=Object.defineProperty,af=Object.defineProperties,lf=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,uf=Object.prototype.hasOwnProperty,cf=Object.prototype.propertyIsEnumerable,Fa=(t,e,n)=>e in t?sf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,df=(t,e)=>{for(var n in e||(e={}))uf.call(e,n)&&Fa(t,n,e[n]);if($a)for(var n of $a(e))cf.call(e,n)&&Fa(t,n,e[n]);return t},ff=(t,e)=>af(t,lf(e));let fo;const Ur=kn(null);function Ua(t){return t.split("-").map((e,n,r)=>r.slice(0,n+1).join("-")).reverse()}function er(t,e=Cn().fallbackLocale){const n=Ua(t);return e?[...new Set([...n,...Ua(e)])]:n}function qe(){return fo??void 0}Ur.subscribe(t=>{fo=t??void 0,typeof window<"u"&&t!=null&&document.documentElement.setAttribute("lang",t)});const hf=t=>{if(t&&Jd(t)&&Fr(t)){const{loadingDelay:e}=Cn();let n;return typeof window<"u"&&qe()!=null&&e?n=window.setTimeout(()=>co.set(!0),e):co.set(!0),Da(t).then(()=>{Ur.set(t)}).finally(()=>{clearTimeout(n),co.set(!1)})}return Ur.set(t)},Tn=ff(df({},Ur),{set:hf}),vf=()=>typeof window>"u"?null:window.navigator.language||window.navigator.languages[0],Gr=t=>{const e=Object.create(null);return r=>{const i=JSON.stringify(r);return i in e?e[i]:e[i]=t(r)}};var pf=Object.defineProperty,qr=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,qa=Object.prototype.propertyIsEnumerable,Va=(t,e,n)=>e in t?pf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ho=(t,e)=>{for(var n in e||(e={}))Ga.call(e,n)&&Va(t,n,e[n]);if(qr)for(var n of qr(e))qa.call(e,n)&&Va(t,n,e[n]);return t},Nn=(t,e)=>{var n={};for(var r in t)Ga.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&qr)for(var r of qr(t))e.indexOf(r)<0&&qa.call(t,r)&&(n[r]=t[r]);return n};const nr=(t,e)=>{const{formats:n}=Cn();if(t in n&&e in n[t])return n[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},mf=Gr(t=>{var e=t,{locale:n,format:r}=e,i=Nn(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=nr("number",r)),new Intl.NumberFormat(n,i)}),gf=Gr(t=>{var e=t,{locale:n,format:r}=e,i=Nn(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=nr("date",r):Object.keys(i).length===0&&(i=nr("date","short")),new Intl.DateTimeFormat(n,i)}),bf=Gr(t=>{var e=t,{locale:n,format:r}=e,i=Nn(e,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=nr("time",r):Object.keys(i).length===0&&(i=nr("time","short")),new Intl.DateTimeFormat(n,i)}),_f=(t={})=>{var e=t,{locale:n=qe()}=e,r=Nn(e,["locale"]);return mf(ho({locale:n},r))},yf=(t={})=>{var e=t,{locale:n=qe()}=e,r=Nn(e,["locale"]);return gf(ho({locale:n},r))},xf=(t={})=>{var e=t,{locale:n=qe()}=e,r=Nn(e,["locale"]);return bf(ho({locale:n},r))},wf=Gr((t,e=qe())=>new Pa(t,e,Cn().formats,{ignoreTag:Cn().ignoreTag})),kf=(t,e={})=>{var n,r,i,o;let s=e;typeof t=="object"&&(s=t,t=s.id);const{values:a,locale:l=qe(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ha(t,l);if(!c)c=(o=(i=(r=(n=Cn()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:t,defaultValue:u}))!=null?i:u)!=null?o:t;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let d=c;try{d=wf(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,f.message)}return d},Ef=(t,e)=>xf(e).format(t),Sf=(t,e)=>yf(e).format(t),Af=(t,e)=>_f(e).format(t),Cf=(t,e=qe())=>Ha(t,e),pe=Ue([Tn,Qn],()=>kf);Ue([Tn],()=>Ef),Ue([Tn],()=>Sf),Ue([Tn],()=>Af),Ue([Tn,Qn],()=>Cf);var Tf=O('<main class="svelte-ed82m7"><div class="svelte-ed82m7"><img src="https://images.pexels.com/photos/906531/pexels-photo-906531.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1" alt="Not Found" class="svelte-ed82m7"> <div class="svelte-ed82m7"><i class="svelte-ed82m7"> <br> </i> <p class="svelte-ed82m7"> <br> <b>404</b></p></div></div></main>');const Nf={hash:"svelte-ed82m7",code:"main.svelte-ed82m7 {display:flex;justify-content:center;align-items:center;height:100vh;}img.svelte-ed82m7 {width:50%;height:50%;object-fit:cover;}div.svelte-ed82m7 {display:flex;flex-direction:column;justify-content:center;align-items:center;padding:1rem;}i.svelte-ed82m7 {font-size:1.5rem;text-align:center;}p.svelte-ed82m7 {font-size:1.25rem;text-align:center;}"};function Ya(t,e){U(e,!1),J(t,Nf);const n=ve(),r=()=>he(pe,"$_",n);Nt();var i=Tf(),o=S(i),s=P(S(o),2),a=S(s),l=S(a);j(()=>K(l,`${r()("notFound.i1")??""} `));var u=P(l,2);j(()=>K(u,` ${r()("notFound.i2")??""}`)),y(a);var c=P(a,2),d=S(c);j(()=>K(d,`${r()("notFound.p")??""} `)),Ci(3),y(c),y(s),y(o),y(i),I(t,i),G()}q(Ya,{},[],[],!0);class rr{constructor(e,n,r,i=[],o){$(this,"ID");$(this,"opId");$(this,"companyId");$(this,"level");$(this,"plans");this.opId=e,this.companyId=n,this.plans=i,this.level=r,this.ID=o}getLevel(e){if(e){let n=this.plans.find(r=>r.moduleId===e);return n?n.level:this.level}else return this.level}isAdmin(){return this.level>=40}isOnlyViewer(){return this.level===0}isClient(){return this.level<20}isConsultant(){return this.level>=40}isMoreThanClient(){return this.level>20}toJSON(){return{opId:this.opId,companyId:this.companyId,level:this.level,plans:this.plans.map(e=>e.toJSON())}}static fromJSON(e){return new rr(e.opId,e.companyId,e.maxLevel,e.plans&&Array.isArray(e.plans)?e.plans.map(Vr.fromJSON):[],e.id)}static placeholder(){return new rr("","",0)}}class Vr{constructor(e,n,r){$(this,"planName");$(this,"moduleId");$(this,"level");this.planName=e,this.moduleId=n,this.level=r}isAdmin(){return this.level>=40}static fromJSON(e){return new Vr(0,0,e.level)}static placeholder(){return new Vr(0,0,0)}toJSON(){return{planName:this.planName,moduleId:this.moduleId,level:this.level}}}class Yr{static getCookies(){const e=document.cookie.split(";"),n=e.find(s=>s.includes("operatorId")),r=e.find(s=>s.includes("envId")),i=e.find(s=>s.includes("companyId")),o=e.find(s=>s.includes("aksToken"));return{OpId:n?n.split("=")[1]:"",EnvId:r?r.split("=")[1]:"",CompanyId:i?i.split("=")[1]:"",token:o?o.split("=")[1]:""}}static f(e="GET",n="",r=null,i){let o={opId:this.getCookies().OpId,envId:this.getCookies().EnvId,companyId:this.getCookies().CompanyId,akstoken:this.getCookies().token},s;return i==="multipart/form-data"&&r?s=r:(o["Content-Type"]=i??"application/json",s=r?JSON.stringify(r):void 0),fetch(`${this.URL}/${n}`,{method:e,headers:o,body:s})}}$(Yr,"URL","https://gen-doc-back-65440859697.europe-west1.run.app"),$(Yr,"URLWS");class Xa extends Yr{static async login(){const n=await(await this.f("GET","users/login")).json();return rr.fromJSON(n)}}const Ja=kn(new rr("","",-1)),zf={"no-norms":"All norms","add-norm-tag":"Add norm tag","norm-name":"Norm name",home:{nav:{create:"Create "},title:"Procedures"},viewer:{templates:"Templates",procedures:"Documents","last-update":"Last update: "},card:{"show-documents":"Show documents",rename:"Rename",delete:"Delete"},"sheet-line":{edit:"Edit",open:"Open",menu:"Menu"},"sheet-menu":{"create-procedure-from-template":"Create document from template",delete:"Delete"},alerts:{error:{"version-not-confirmed":"Version not confirmed","version-creation-error":"Error creating version","procedure-creation-error":"Error creating procedure","fill-all-data":"Please fill all the data","name-requred":"Name requred"},success:{"procedure-created":"Document created","version-created":"Version created"}},"add-document":{"no-ai":"No AI","only-struct":"Only-struct","complete-template":"Complete template",full:"Full",title:"Title","society-type":"Type of society","add-custom-tag":"Add custom tag","add-new":"Add new","template-struct":"Template structure","document-struct":"Document structure"},"tutorial-step":{1:"View all templates here",2:"This is a document",3:"View all documents here",4:"Filter all templates and documents related to a standard",5:"Search for a template or document here",6:"Create a new version of the template or document",7:"Edit the structure of the template or document",8:"Edit the content of the template or document with GenDoc",9:"Here you can find other options"},document:"Document",add:"Add",search:"Search","open-editor":"Open on editor","modify-data":"Modify the data","new-version":"New version","file-name":"File name",save:"Save",create:{template:"Create template",document:"Create document"},versions:"Versions"},If={"no-norms":"Tutte le norme","add-norm-tag":"Aggiungi tag norma","norm-name":"Nome norma",home:{nav:{create:"Crea "},title:"Procedure"},viewer:{templates:"Template",procedures:"Documenti","last-update":"Ultimo aggiornamento: "},card:{"show-documents":"Mostra documenti",rename:"Rinomina",delete:"Elimina"},"sheet-line":{edit:"Modifica",open:"Apri",menu:"Menu"},"sheet-menu":{"create-procedure-from-template":"Crea documento da template",delete:"Elimina"},alerts:{error:{"version-not-confirmed":"Versione non confermata","version-creation-error":"Errore nella creazione della versione","procedure-creation-error":"Errore nella creazione della procedura","fill-all-data":"Compila tutti i campi","name-requred":"Nome documento obbligatorio"},success:{"procedure-created":"Documento creato","version-created":"Versione creata"}},"add-document":{"no-ai":"Senza IA","only-struct":"Solo struttura","complete-template":"Template completo",full:"Completo",title:"Titolo","society-type":"tipo di societa'","add-custom-tag":"Aggiungi tag personalizzato","add-new":"Aggiungi nuovo","template-struct":"Struttura template","document-struct":"Struttura documento"},"tutorial-step":{1:"Visualizza qua tutti i template",2:"Questo è un documento",3:"Visualizza qua tutti i documenti",4:"Filtra tutti i template e documenti relativi ad una norma",5:"Cerca qua un template o un documento",6:"Crea una nuova versione del template o del documento",7:"Modifica la struttura del template o del documento",8:"Modifica il contenuto del template o del documento con GenDoc",9:"Qua trovi altre opzioni"},document:"Documento",add:"Aggiungi",search:"Cerca","open-editor":"Apri nell'editor","modify-data":"Modifica i dati","new-version":"Nuova versione","file-name":"Nome file",save:"Salva",create:{template:"Crea template",document:"Crea documento"},versions:"Versioni"};uo("en",zf),uo("it",If);function jf(t){t&&of({fallbackLocale:"it",initialLocale:t})}function Of(){return vf()}var Lf=O("<p> </p>"),Pf=O("<li> </li>"),Hf=O("<ul></ul>"),Bf=O("<p>No cookies found</p>"),Mf=O('<main class="svelte-13r0oi6"><h1>SAD Debugging Screen</h1> <section class="svelte-13r0oi6"><!></section> <section class="svelte-13r0oi6"><!></section> <section class="svelte-13r0oi6"> </section></main>');const Df={hash:"svelte-13r0oi6",code:"main.svelte-13r0oi6 {display:flex;flex-direction:column;}section.svelte-13r0oi6 {padding:2rem;border:1px solid #ccc;}"};function Wa(t,e){U(e,!0),J(t,Df);const n=document.cookie.split(";").map(g=>g.trim());let r=Q("");Fe(()=>{const g=window.location.href.split("error=")[1].replaceAll("%20"," ");g&&T(r,D(g))});let i=Q("");Xa.login().then(g=>{T(i,"success"),Hc("/")}).catch(g=>{T(i,"error "+g)});var o=Mf(),s=P(S(o),2),a=S(s);{var l=g=>{var _=Lf(),w=S(_,!0);y(_),j(()=>K(w,v(r))),I(g,_)};gt(a,g=>{v(r)&&g(l)})}y(s);var u=P(s,2),c=S(u);{var d=g=>{var _=Hf();Tt(_,21,()=>n,Ct,(w,A)=>{var x=Pf(),k=S(x,!0);y(x),j(()=>K(k,v(A))),I(w,x)}),y(_),I(g,_)},f=g=>{var _=Bf();I(g,_)};gt(c,g=>{Array.isArray(n)&&n.length>0?g(d):g(f,!1)})}y(u);var h=P(u,2),b=S(h);y(h),y(o),j(()=>K(b,`Login: ${v(i)??""}`)),I(t,o),G()}q(Wa,{},[],[],!0);const Rf=t=>t;function $f(t){const e=t-1;return e*e*e+1}function Xr(t,{delay:e=0,duration:n=400,easing:r=Rf}={}){const i=+getComputedStyle(t).opacity;return{delay:e,duration:n,easing:r,css:o=>`opacity: ${o*i}`}}function Za(t,{delay:e=0,duration:n=400,easing:r=$f,axis:i="y"}={}){const o=getComputedStyle(t),s=+o.opacity,a=i==="y"?"height":"width",l=parseFloat(o[a]),u=i==="y"?["top","bottom"]:["left","right"],c=u.map(w=>`${w[0].toUpperCase()}${w.slice(1)}`),d=parseFloat(o[`padding${c[0]}`]),f=parseFloat(o[`padding${c[1]}`]),h=parseFloat(o[`margin${c[0]}`]),b=parseFloat(o[`margin${c[1]}`]),g=parseFloat(o[`border${c[0]}Width`]),_=parseFloat(o[`border${c[1]}Width`]);return{delay:e,duration:n,easing:r,css:w=>`overflow: hidden;opacity: ${Math.min(w*20,1)*s};${a}: ${w*l}px;padding-${u[0]}: ${w*d}px;padding-${u[1]}: ${w*f}px;margin-${u[0]}: ${w*h}px;margin-${u[1]}: ${w*b}px;border-${u[0]}-width: ${w*g}px;border-${u[1]}-width: ${w*_}px;`}}const Qa=/^[a-z0-9]+(-[a-z0-9]+)*$/,Jr=(t,e,n,r="")=>{const i=t.split(":");if(t.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const a=i.pop(),l=i.pop(),u={provider:i.length>0?i[0]:r,prefix:l,name:a};return e&&!Wr(u)?null:u}const o=i[0],s=o.split("-");if(s.length>1){const a={provider:r,prefix:s.shift(),name:s.join("-")};return e&&!Wr(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:o};return e&&!Wr(a,n)?null:a}return null},Wr=(t,e)=>t?!!((e&&t.prefix===""||t.prefix)&&t.name):!1,Ka=Object.freeze({left:0,top:0,width:16,height:16}),Zr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Qr=Object.freeze({...Ka,...Zr}),vo=Object.freeze({...Qr,body:"",hidden:!1});function Ff(t,e){const n={};!t.hFlip!=!e.hFlip&&(n.hFlip=!0),!t.vFlip!=!e.vFlip&&(n.vFlip=!0);const r=((t.rotate||0)+(e.rotate||0))%4;return r&&(n.rotate=r),n}function tl(t,e){const n=Ff(t,e);for(const r in vo)r in Zr?r in t&&!(r in n)&&(n[r]=Zr[r]):r in e?n[r]=e[r]:r in t&&(n[r]=t[r]);return n}function Uf(t,e){const n=t.icons,r=t.aliases||Object.create(null),i=Object.create(null);function o(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const a=r[s]&&r[s].parent,l=a&&o(a);l&&(i[s]=[a].concat(l))}return i[s]}return Object.keys(n).concat(Object.keys(r)).forEach(o),i}function Gf(t,e,n){const r=t.icons,i=t.aliases||Object.create(null);let o={};function s(a){o=tl(r[a]||i[a],o)}return s(e),n.forEach(s),tl(t,o)}function el(t,e){const n=[];if(typeof t!="object"||typeof t.icons!="object")return n;t.not_found instanceof Array&&t.not_found.forEach(i=>{e(i,null),n.push(i)});const r=Uf(t);for(const i in r){const o=r[i];o&&(e(i,Gf(t,i,o)),n.push(i))}return n}const qf={provider:"",aliases:{},not_found:{},...Ka};function po(t,e){for(const n in e)if(n in t&&typeof t[n]!=typeof e[n])return!1;return!0}function nl(t){if(typeof t!="object"||t===null)return null;const e=t;if(typeof e.prefix!="string"||!t.icons||typeof t.icons!="object"||!po(t,qf))return null;const n=e.icons;for(const i in n){const o=n[i];if(!i||typeof o.body!="string"||!po(o,vo))return null}const r=e.aliases||Object.create(null);for(const i in r){const o=r[i],s=o.parent;if(!i||typeof s!="string"||!n[s]&&!r[s]||!po(o,vo))return null}return e}const rl=Object.create(null);function Vf(t,e){return{provider:t,prefix:e,icons:Object.create(null),missing:new Set}}function nn(t,e){const n=rl[t]||(rl[t]=Object.create(null));return n[e]||(n[e]=Vf(t,e))}function mo(t,e){return nl(e)?el(e,(n,r)=>{r?t.icons[n]=r:t.missing.add(n)}):[]}function Yf(t,e,n){try{if(typeof n.body=="string")return t.icons[e]={...n},!0}catch{}return!1}let ir=!1;function il(t){return typeof t=="boolean"&&(ir=t),ir}function Xf(t){const e=typeof t=="string"?Jr(t,!0,ir):t;if(e){const n=nn(e.provider,e.prefix),r=e.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function Jf(t,e){const n=Jr(t,!0,ir);if(!n)return!1;const r=nn(n.provider,n.prefix);return e?Yf(r,n.name,e):(r.missing.add(n.name),!0)}function Wf(t,e){if(typeof t!="object")return!1;if(typeof e!="string"&&(e=t.provider||""),ir&&!e&&!t.prefix){let i=!1;return nl(t)&&(t.prefix="",el(t,(o,s)=>{Jf(o,s)&&(i=!0)})),i}const n=t.prefix;if(!Wr({provider:e,prefix:n,name:"a"}))return!1;const r=nn(e,n);return!!mo(r,t)}const ol=Object.freeze({width:null,height:null}),sl=Object.freeze({...ol,...Zr}),Zf=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Qf=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function al(t,e,n){if(e===1)return t;if(n=n||100,typeof t=="number")return Math.ceil(t*e*n)/n;if(typeof t!="string")return t;const r=t.split(Zf);if(r===null||!r.length)return t;const i=[];let o=r.shift(),s=Qf.test(o);for(;;){if(s){const a=parseFloat(o);isNaN(a)?i.push(o):i.push(Math.ceil(a*e*n)/n)}else i.push(o);if(o=r.shift(),o===void 0)return i.join("");s=!s}}function Kf(t,e="defs"){let n="";const r=t.indexOf("<"+e);for(;r>=0;){const i=t.indexOf(">",r),o=t.indexOf("</"+e);if(i===-1||o===-1)break;const s=t.indexOf(">",o);if(s===-1)break;n+=t.slice(i+1,o).trim(),t=t.slice(0,r).trim()+t.slice(s+1)}return{defs:n,content:t}}function th(t,e){return t?"<defs>"+t+"</defs>"+e:e}function eh(t,e,n){const r=Kf(t);return th(r.defs,e+r.content+n)}const nh=t=>t==="unset"||t==="undefined"||t==="none";function rh(t,e){const n={...Qr,...t},r={...sl,...e},i={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(g=>{const _=[],w=g.hFlip,A=g.vFlip;let x=g.rotate;w?A?x+=2:(_.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),_.push("scale(-1 1)"),i.top=i.left=0):A&&(_.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),_.push("scale(1 -1)"),i.top=i.left=0);let k;switch(x<0&&(x-=Math.floor(x/4)*4),x=x%4,x){case 1:k=i.height/2+i.top,_.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:_.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:k=i.width/2+i.left,_.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}x%2===1&&(i.left!==i.top&&(k=i.left,i.left=i.top,i.top=k),i.width!==i.height&&(k=i.width,i.width=i.height,i.height=k)),_.length&&(o=eh(o,'<g transform="'+_.join(" ")+'">',"</g>"))});const s=r.width,a=r.height,l=i.width,u=i.height;let c,d;s===null?(d=a===null?"1em":a==="auto"?u:a,c=al(d,l/u)):(c=s==="auto"?l:s,d=a===null?al(c,u/l):a==="auto"?u:a);const f={},h=(g,_)=>{nh(_)||(f[g]=_.toString())};h("width",c),h("height",d);const b=[i.left,i.top,l,u];return f.viewBox=b.join(" "),{attributes:f,viewBox:b,body:o}}const ih=/\sid="(\S+)"/g,oh="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let sh=0;function ah(t,e=oh){const n=[];let r;for(;r=ih.exec(t);)n.push(r[1]);if(!n.length)return t;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const s=typeof e=="function"?e(o):e+(sh++).toString(),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),t=t.replace(new RegExp(i,"g"),""),t}const go=Object.create(null);function lh(t,e){go[t]=e}function bo(t){return go[t]||go[""]}function _o(t){let e;if(typeof t.resources=="string")e=[t.resources];else if(e=t.resources,!(e instanceof Array)||!e.length)return null;return{resources:e,path:t.path||"/",maxURL:t.maxURL||500,rotate:t.rotate||750,timeout:t.timeout||5e3,random:t.random===!0,index:t.index||0,dataAfterTimeout:t.dataAfterTimeout!==!1}}const yo=Object.create(null),or=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;or.length>0;)or.length===1||Math.random()>.5?Kr.push(or.shift()):Kr.push(or.pop());yo[""]=_o({resources:["https://api.iconify.design"].concat(Kr)});function uh(t,e){const n=_o(e);return n===null?!1:(yo[t]=n,!0)}function xo(t){return yo[t]}let ll=(()=>{let t;try{if(t=fetch,typeof t=="function")return t}catch{}})();function ch(t,e){const n=xo(t);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const o=e+".json?icons=";r=n.maxURL-i-n.path.length-o.length}return r}function dh(t){return t===404}const fh=(t,e,n)=>{const r=[],i=ch(t,e),o="icons";let s={type:o,provider:t,prefix:e,icons:[]},a=0;return n.forEach((l,u)=>{a+=l.length+1,a>=i&&u>0&&(r.push(s),s={type:o,provider:t,prefix:e,icons:[]},a=l.length),s.icons.push(l)}),r.push(s),r};function hh(t){if(typeof t=="string"){const e=xo(t);if(e)return e.path}return"/"}const vh={prepare:fh,send:(t,e,n)=>{if(!ll){n("abort",424);return}let r=hh(e.provider);switch(e.type){case"icons":{const o=e.prefix,a=e.icons.join(","),l=new URLSearchParams({icons:a});r+=o+".json?"+l.toString();break}case"custom":{const o=e.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let i=503;ll(t+r).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{n(dh(s)?"abort":"next",s)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",i)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",i)})}};function ph(t){const e={loaded:[],missing:[],pending:[]},n=Object.create(null);t.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return t.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const o=i.provider,s=i.prefix,a=i.name,l=n[o]||(n[o]=Object.create(null)),u=l[s]||(l[s]=nn(o,s));let c;a in u.icons?c=e.loaded:s===""||u.missing.has(a)?c=e.missing:c=e.pending;const d={provider:o,prefix:s,name:a};c.push(d)}),e}function ul(t,e){t.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==e))})}function mh(t){t.pendingCallbacksFlag||(t.pendingCallbacksFlag=!0,setTimeout(()=>{t.pendingCallbacksFlag=!1;const e=t.loaderCallbacks?t.loaderCallbacks.slice(0):[];if(!e.length)return;let n=!1;const r=t.provider,i=t.prefix;e.forEach(o=>{const s=o.icons,a=s.pending.length;s.pending=s.pending.filter(l=>{if(l.prefix!==i)return!0;const u=l.name;if(t.icons[u])s.loaded.push({provider:r,prefix:i,name:u});else if(t.missing.has(u))s.missing.push({provider:r,prefix:i,name:u});else return n=!0,!0;return!1}),s.pending.length!==a&&(n||ul([t],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let gh=0;function bh(t,e,n){const r=gh++,i=ul.bind(null,n,r);if(!e.pending.length)return i;const o={id:r,icons:e,callback:t,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),i}function _h(t,e=!0,n=!1){const r=[];return t.forEach(i=>{const o=typeof i=="string"?Jr(i,e,n):i;o&&r.push(o)}),r}var yh={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function xh(t,e,n,r){const i=t.resources.length,o=t.random?Math.floor(Math.random()*i):t.index;let s;if(t.random){let C=t.resources.slice(0);for(s=[];C.length>1;){const N=Math.floor(Math.random()*C.length);s.push(C[N]),C=C.slice(0,N).concat(C.slice(N+1))}s=s.concat(C)}else s=t.resources.slice(o).concat(t.resources.slice(0,o));const a=Date.now();let l="pending",u=0,c,d=null,f=[],h=[];typeof r=="function"&&h.push(r);function b(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),b(),f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function _(C,N){N&&(h=[]),typeof C=="function"&&h.push(C)}function w(){return{startTime:a,payload:e,status:l,queriesSent:u,queriesPending:f.length,subscribe:_,abort:g}}function A(){l="failed",h.forEach(C=>{C(void 0,c)})}function x(){f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function k(C,N,z){const L=N!=="success";switch(f=f.filter(F=>F!==C),l){case"pending":break;case"failed":if(L||!t.dataAfterTimeout)return;break;default:return}if(N==="abort"){c=z,A();return}if(L){c=z,f.length||(s.length?E():A());return}if(b(),x(),!t.random){const F=t.resources.indexOf(C.resource);F!==-1&&F!==t.index&&(t.index=F)}l="completed",h.forEach(F=>{F(z)})}function E(){if(l!=="pending")return;b();const C=s.shift();if(C===void 0){if(f.length){d=setTimeout(()=>{b(),l==="pending"&&(x(),A())},t.timeout);return}A();return}const N={status:"pending",resource:C,callback:(z,L)=>{k(N,z,L)}};f.push(N),u++,d=setTimeout(E,t.rotate),n(C,e,N.callback)}return setTimeout(E),w}function cl(t){const e={...yh,...t};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function i(a,l,u){const c=xh(e,a,l,(d,f)=>{r(),u&&u(d,f)});return n.push(c),c}function o(a){return n.find(l=>a(l))||null}return{query:i,find:o,setIndex:a=>{e.index=a},getIndex:()=>e.index,cleanup:r}}function dl(){}const wo=Object.create(null);function wh(t){if(!wo[t]){const e=xo(t);if(!e)return;const n=cl(e),r={config:e,redundancy:n};wo[t]=r}return wo[t]}function kh(t,e,n){let r,i;if(typeof t=="string"){const o=bo(t);if(!o)return n(void 0,424),dl;i=o.send;const s=wh(t);s&&(r=s.redundancy)}else{const o=_o(t);if(o){r=cl(o);const s=t.resources?t.resources[0]:"",a=bo(s);a&&(i=a.send)}}return!r||!i?(n(void 0,424),dl):r.query(e,i,n)().abort}const fl="iconify2",sr="iconify",hl=sr+"-count",vl=sr+"-version",pl=36e5,Eh=168,Sh=50;function ko(t,e){try{return t.getItem(e)}catch{}}function Eo(t,e,n){try{return t.setItem(e,n),!0}catch{}}function ml(t,e){try{t.removeItem(e)}catch{}}function So(t,e){return Eo(t,hl,e.toString())}function Ao(t){return parseInt(ko(t,hl))||0}const ti={local:!0,session:!0},gl={local:new Set,session:new Set};let Co=!1;function Ah(t){Co=t}let ei=typeof window>"u"?{}:window;function bl(t){const e=t+"Storage";try{if(ei&&ei[e]&&typeof ei[e].length=="number")return ei[e]}catch{}ti[t]=!1}function _l(t,e){const n=bl(t);if(!n)return;const r=ko(n,vl);if(r!==fl){if(r){const a=Ao(n);for(let l=0;l<a;l++)ml(n,sr+l.toString())}Eo(n,vl,fl),So(n,0);return}const i=Math.floor(Date.now()/pl)-Eh,o=a=>{const l=sr+a.toString(),u=ko(n,l);if(typeof u=="string"){try{const c=JSON.parse(u);if(typeof c=="object"&&typeof c.cached=="number"&&c.cached>i&&typeof c.provider=="string"&&typeof c.data=="object"&&typeof c.data.prefix=="string"&&e(c,a))return!0}catch{}ml(n,l)}};let s=Ao(n);for(let a=s-1;a>=0;a--)o(a)||(a===s-1?(s--,So(n,s)):gl[t].add(a))}function yl(){if(!Co){Ah(!0);for(const t in ti)_l(t,e=>{const n=e.data,r=e.provider,i=n.prefix,o=nn(r,i);if(!mo(o,n).length)return!1;const s=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,s):s,!0})}}function Ch(t,e){const n=t.lastModifiedCached;if(n&&n>=e)return n===e;if(t.lastModifiedCached=e,n)for(const r in ti)_l(r,i=>{const o=i.data;return i.provider!==t.provider||o.prefix!==t.prefix||o.lastModified===e});return!0}function Th(t,e){Co||yl();function n(r){let i;if(!ti[r]||!(i=bl(r)))return;const o=gl[r];let s;if(o.size)o.delete(s=Array.from(o).shift());else if(s=Ao(i),s>=Sh||!So(i,s+1))return;const a={cached:Math.floor(Date.now()/pl),provider:t.provider,data:e};return Eo(i,sr+s.toString(),JSON.stringify(a))}e.lastModified&&!Ch(t,e.lastModified)||Object.keys(e.icons).length&&(e.not_found&&(e=Object.assign({},e),delete e.not_found),n("local")||n("session"))}function xl(){}function Nh(t){t.iconsLoaderFlag||(t.iconsLoaderFlag=!0,setTimeout(()=>{t.iconsLoaderFlag=!1,mh(t)}))}function zh(t){const e=[],n=[];return t.forEach(r=>{(r.match(Qa)?e:n).push(r)}),{valid:e,invalid:n}}function ar(t,e,n,r){function i(){const o=t.pendingIcons;e.forEach(s=>{o&&o.delete(s),t.icons[s]||t.missing.add(s)})}if(n&&typeof n=="object")try{if(!mo(t,n).length){i();return}r&&Th(t,n)}catch(o){console.error(o)}i(),Nh(t)}function wl(t,e){t instanceof Promise?t.then(n=>{e(n)}).catch(()=>{e(null)}):e(t)}function Ih(t,e){t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(e).sort():t.iconsToLoad=e,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;const{provider:n,prefix:r}=t,i=t.iconsToLoad;if(delete t.iconsToLoad,!i||!i.length)return;const o=t.loadIcon;if(t.loadIcons&&(i.length>1||!o)){wl(t.loadIcons(i,r,n),c=>{ar(t,i,c,!1)});return}if(o){i.forEach(c=>{const d=o(c,r,n);wl(d,f=>{const h=f?{prefix:r,icons:{[c]:f}}:null;ar(t,[c],h,!1)})});return}const{valid:s,invalid:a}=zh(i);if(a.length&&ar(t,a,null,!1),!s.length)return;const l=r.match(Qa)?bo(n):null;if(!l){ar(t,s,null,!1);return}l.prepare(n,r,s).forEach(c=>{kh(n,c,d=>{ar(t,c.icons,d,!0)})})}))}const jh=(t,e)=>{const n=_h(t,!0,il()),r=ph(n);if(!r.pending.length){let l=!0;return e&&setTimeout(()=>{l&&e(r.loaded,r.missing,r.pending,xl)}),()=>{l=!1}}const i=Object.create(null),o=[];let s,a;return r.pending.forEach(l=>{const{provider:u,prefix:c}=l;if(c===a&&u===s)return;s=u,a=c,o.push(nn(u,c));const d=i[u]||(i[u]=Object.create(null));d[c]||(d[c]=[])}),r.pending.forEach(l=>{const{provider:u,prefix:c,name:d}=l,f=nn(u,c),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),i[u][c].push(d))}),o.forEach(l=>{const u=i[l.provider][l.prefix];u.length&&Ih(l,u)}),e?bh(e,r,o):xl};function Oh(t,e){const n={...t};for(const r in e){const i=e[r],o=typeof i;r in ol?(i===null||i&&(o==="string"||o==="number"))&&(n[r]=i):o===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const Lh=/[\s,]+/;function Ph(t,e){e.split(Lh).forEach(n=>{switch(n.trim()){case"horizontal":t.hFlip=!0;break;case"vertical":t.vFlip=!0;break}})}function Hh(t,e=0){const n=t.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(t);return isNaN(i)?0:r(i)}else if(n!==t){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(t.slice(0,t.length-n.length));return isNaN(o)?0:(o=o/i,o%1===0?r(o):0)}}return e}function Bh(t,e){let n=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in e)n+=" "+r+'="'+e[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+t+"</svg>"}function Mh(t){return t.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Dh(t){return"data:image/svg+xml,"+Mh(t)}function Rh(t){return'url("'+Dh(t)+'")'}const kl={...sl,inline:!1},$h={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Fh={display:"inline-block"},To={"background-color":"currentColor"},El={"background-color":"transparent"},Sl={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},Al={"-webkit-mask":To,mask:To,background:El};for(const t in Al){const e=Al[t];for(const n in Sl)e[t+"-"+n]=Sl[n]}function Uh(t){return t+(t.match(/^[-0-9.]+$/)?"px":"")}function Gh(t,e){const n=Oh(kl,e),r=e.mode||"svg",i=r==="svg"?{...$h}:{};t.body.indexOf("xlink:")===-1&&delete i["xmlns:xlink"];let o=typeof e.style=="string"?e.style:"";for(let w in e){const A=e[w];if(A!==void 0)switch(w){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":n[w]=A===!0||A==="true"||A===1;break;case"flip":typeof A=="string"&&Ph(n,A);break;case"color":o=o+(o.length>0&&o.trim().slice(-1)!==";"?";":"")+"color: "+A+"; ";break;case"rotate":typeof A=="string"?n[w]=Hh(A):typeof A=="number"&&(n[w]=A);break;case"ariaHidden":case"aria-hidden":A!==!0&&A!=="true"&&delete i["aria-hidden"];break;default:if(w.slice(0,3)==="on:")break;kl[w]===void 0&&(i[w]=A)}}const s=rh(t,n),a=s.attributes;if(n.inline&&(o="vertical-align: -0.125em; "+o),r==="svg"){Object.assign(i,a),o!==""&&(i.style=o);let w=0,A=e.id;return typeof A=="string"&&(A=A.replace(/-/g,"_")),{svg:!0,attributes:i,body:ah(s.body,A?()=>A+"ID"+w++:"iconifySvelte")}}const{body:l,width:u,height:c}=t,d=r==="mask"||(r==="bg"?!1:l.indexOf("currentColor")!==-1),f=Bh(l,{...a,width:u+"",height:c+""}),b={"--svg":Rh(f)},g=w=>{const A=a[w];A&&(b[w]=Uh(A))};g("width"),g("height"),Object.assign(b,Fh,d?To:El);let _="";for(const w in b)_+=w+": "+b[w]+";";return i.style=_+o,{svg:!1,attributes:i}}if(il(!0),lh("",vh),typeof document<"u"&&typeof window<"u"){yl();const t=window;if(t.IconifyPreload!==void 0){const e=t.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof e=="object"&&e!==null&&(e instanceof Array?e:[e]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!Wf(r))&&console.error(n)}catch{console.error(n)}})}if(t.IconifyProviders!==void 0){const e=t.IconifyProviders;if(typeof e=="object"&&e!==null)for(let n in e){const r="IconifyProviders["+n+"] is invalid.";try{const i=e[n];if(typeof i!="object"||!i||i.resources===void 0)continue;uh(n,i)||console.error(r)}catch{console.error(r)}}}}function qh(t,e,n,r,i){function o(){e.loading&&(e.loading.abort(),e.loading=null)}if(typeof t=="object"&&t!==null&&typeof t.body=="string")return e.name="",o(),{data:{...Qr,...t}};let s;if(typeof t!="string"||(s=Jr(t,!1,!0))===null)return o(),null;const a=Xf(s);if(!a)return n&&(!e.loading||e.loading.name!==t)&&(o(),e.name="",e.loading={name:t,abort:jh([s],r)}),null;o(),e.name!==t&&(e.name=t,i&&!e.destroyed&&i(t));const l=["iconify"];return s.prefix!==""&&l.push("iconify--"+s.prefix),s.provider!==""&&l.push("iconify--"+s.provider),{data:a,classes:l}}function Cl(t,e){return t?Gh({...Qr,...t},e):null}var Vh=O("<svg><!></svg>"),Yh=O("<span></span>");function kt(t,e){const n=Wn(e,["children","$$slots","$$events","$$legacy","$$host"]);U(e,!1);const r=Zt({name:"",loading:null,destroyed:!1});let i=Zt(!1),o=Zt(0),s=Zt();const a=f=>{typeof n.onLoad=="function"&&n.onLoad(f),Yi()("load",{icon:f})};function l(){Hi(o)}Fe(()=>{T(i,!0)}),Ks(()=>{Si(r,v(r).destroyed=!0),v(r).loading&&(v(r).loading.abort(),Si(r,v(r).loading=null))}),Te(()=>(v(o),Kt(n),v(i),v(r),v(s),Cl),()=>{v(o);const f=!!n.ssr||v(i),h=qh(n.icon,v(r),f,l,a);T(s,h?Cl(h.data,n):null),v(s)&&h.classes&&Si(s,v(s).attributes.class=(typeof n.class=="string"?n.class+" ":"")+h.classes.join(" "))}),He(),Nt();var u=we(),c=Vt(u);{var d=f=>{var h=we(),b=Vt(h);{var g=w=>{var A=Vh();let x;var k=S(A);bc(k,()=>v(s).body),y(A),j(()=>x=Or(A,x,{...v(s).attributes},void 0,!0)),I(w,A)},_=w=>{var A=Yh();let x;j(()=>x=Or(A,x,{...v(s).attributes})),I(w,A)};gt(b,w=>{v(s).svg?w(g):w(_,!1)})}I(f,h)};gt(c,f=>{v(s)&&f(d)})}I(t,u),G()}q(kt,{},[],[],!0);const Xh=(t,e)=>{T(e,!v(e))};var Jh=()=>{},Wh=()=>{},Zh=()=>{},Qh=O('<div class="dialog svelte-xyyxz7"><section class="svelte-xyyxz7"><button class="svelte-xyyxz7"> </button> <button class="svelte-xyyxz7"> </button> <button class="svelte-xyyxz7"> </button></section></div>'),Kh=()=>{},tv=()=>{},ev=O('<div class="card svelte-xyyxz7"><section class="header svelte-xyyxz7"><div class="icon-section svelte-xyyxz7"><div class="icon svelte-xyyxz7"><img alt="icon" class="svelte-xyyxz7"></div></div> <div class="header-info svelte-xyyxz7"><h6> </h6> <button class="menu svelte-xyyxz7"><!></button> <!></div></section> <section class="description svelte-xyyxz7"><button class="svelte-xyyxz7"> </button> <button class="svelte-xyyxz7"> </button></section></div>');const nv={hash:"svelte-xyyxz7",code:".card.svelte-xyyxz7 {height:180px;width:400px;border:none;padding:10px;margin-top:30px;margin-bottom:10px;border-radius:10px;}.icon-section.svelte-xyyxz7 {width:100px;height:100px;border-radius:100%;position:relative;}.icon.svelte-xyyxz7 {width:100px;height:100px;border-radius:100%;border:5px solid white;position:absolute;top:-40px;}img.svelte-xyyxz7 {width:100%;height:100%;border-radius:100%;border:15px solid #e7eef8;}.header.svelte-xyyxz7 {display:flex;flex-direction:row;gap:10px;height:60px;margin-bottom:10px;}.header-info.svelte-xyyxz7 {width:80%;padding-left:5px;padding-right:5px;display:flex;flex-direction:row;align-items:space-between;justify-content:space-between;}.menu.svelte-xyyxz7 {display:flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:100%;background-color:#e7eef8;cursor:pointer;border:none;}.description.svelte-xyyxz7 {height:100%;display:flex;flex-direction:column;justify-content:center;}.description.svelte-xyyxz7 > button:where(.svelte-xyyxz7) {padding:5px;margin:2px;border:none;border-radius:5px;cursor:pointer;font-size:small;background-color:#e7eef8;color:rgb(64, 64, 64);}.description.svelte-xyyxz7 > button:where(.svelte-xyyxz7):last-child {grid-column:span 2;}.description.svelte-xyyxz7 > button:where(.svelte-xyyxz7):hover {background-color:#d3e0f4;}.dialog.svelte-xyyxz7 {background-color:#ffffff;position:absolute;display:flex;flex-direction:column;width:170px;right:0px;top:50px;border-radius:10px;border:1px solid #e7eef8;z-index:100;}.dialog.svelte-xyyxz7 > section:where(.svelte-xyyxz7) > button:where(.svelte-xyyxz7) {margin:5px;border:none;border-radius:5px;cursor:pointer;font-size:small;background-color:white;color:rgb(64, 64, 64);text-align:left;border-top:1px solid #e7eef8;width:90%;}.dialog.svelte-xyyxz7 > section:where(.svelte-xyyxz7) > button:where(.svelte-xyyxz7):first-child {border-top:none;}"};function Tl(t,e){U(e,!0),J(t,nv);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"title",7),o=m(e,"tags",7),s=m(e,"color",7,"white"),a=Q(!1),l=Q(D([]));const u=()=>{for(let M of o())T(l,D([...v(l),...M.value]))};Fe(()=>{u()});var c=ev(),d=S(c),f=S(d),h=S(f),b=S(h);H(b,"src","https://aksilia.aksiliasuite.com/assets/img/KAksilia.svg"),y(h),y(f);var g=P(f,2),_=S(g),w=S(_,!0);y(_);var A=P(_,2);A.__click=[Xh,a];var x=S(A);kt(x,{icon:"solar:hamburger-menu-outline",width:"25px",height:"25px"}),y(A);var k=P(A,2);{var E=M=>{var B=Qh(),W=S(B),nt=S(W);nt.__click=[Jh];var _t=S(nt,!0);j(()=>K(_t,r()("card.show-procedures"))),y(nt);var St=P(nt,2);St.__click=[Wh];var V=S(St,!0);j(()=>K(V,r()("card.show-rename"))),y(St);var ht=P(St,2);ht.__click=[Zh];var At=S(ht,!0);j(()=>K(At,r()("card.show-delete"))),y(ht),y(W),y(B),xn(1,B,()=>Za),xn(2,B,()=>Za),I(M,B)};gt(k,M=>{v(a)&&M(E)})}y(g),y(d);var C=P(d,2),N=S(C);N.__click=[Kh];var z=S(N,!0);j(()=>K(z,r()("open-editor"))),y(N);var L=P(N,2);L.__click=[tv];var F=S(L,!0);return j(()=>K(F,r()("modify-data"))),y(L),y(C),y(c),j(()=>{H(h,"style",`box-shadow: 0px 0px 10px ${s()};`),K(w,i()||"Senza nome")}),I(t,c),G({get title(){return i()},set title(M){i(M),p()},get tags(){return o()},set tags(M){o(M),p()},get color(){return s()},set color(M="white"){s(M),p()}})}ye(["click"]),q(Tl,{title:{},tags:{},color:{}},[],[],!0);var rv=oc('<svg width="320" height="440" viewBox="0 0 320 440" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M230 0H10C4.47715 0 0 4.47714 0 9.99999V430C0 435.523 4.47715 440 10 440H310C315.523 440 320 435.523 320 430V90L240 80L230 0Z"></path><path d="M230 0L320 90H235C232.239 90 230 87.7614 230 85V0Z"></path><path d="M263.128 213.35C264.583 211.875 265.068 209.908 265.068 207.942V153.866C265.068 149.441 261.674 146 257.31 146H216.581C214.642 146 212.702 146.492 211.248 147.966L162.762 197.127L117.184 243.337C114.275 246.287 114.275 251.203 117.184 253.661L169.065 306.263L187.974 325.435L211.248 349.032C212.702 350.507 214.642 350.998 216.581 350.998H257.31C261.674 350.998 265.068 347.557 265.068 343.133V301.838C265.068 299.872 264.583 297.905 263.128 296.43L239.855 272.834L225.794 259.069C222.885 256.119 222.885 251.203 225.794 248.745L263.128 213.35Z" fill="white"></path><path d="M97.5686 272.28C94.608 269.346 89.6736 269.346 86.713 272.28L62.0412 296.727C60.5609 298.194 60.0674 300.15 60.0674 302.106V343.177C60.0674 347.577 63.5216 351 67.9625 351H121.253C123.227 351 125.201 350.511 126.681 349.044L144.938 330.953C147.899 328.02 147.899 323.13 144.938 320.685L97.5686 272.28Z" fill="white"></path><path d="M72.3924 249.511C72.9577 248.975 73.4737 248.321 74.0208 247.766L92.1669 229.362L143.234 177.569L162.202 158.332C164.682 155.817 165.406 151.878 163.479 149.238C162.771 148.267 161.82 147.467 160.768 146.893C159.574 146.242 158.213 146 156.853 146H67.849C63.4718 146 60.0674 149.453 60.0674 153.893V244.653C60.0674 247.107 61.1071 249.259 62.7762 250.693C65.4956 253.031 69.7901 251.98 72.3924 249.511V249.511Z" fill="white"></path></svg>');function No(t,e){U(e,!0);let n=m(e,"color",7,"none");var r=rv(),i=S(r),o=P(i);return Ci(3),y(r),j(()=>{H(i,"fill",n()==="none"?"#3888FF":n()),H(o,"fill",n()==="none"?"#3888FF":n())}),I(t,r),G({get color(){return n()},set color(s="none"){n(s),p()}})}q(No,{color:{}},[],[],!0);class lr{constructor(e,n,r,i,o,s,a){$(this,"_id","");$(this,"path","");$(this,"name");$(this,"userId");$(this,"companyId");$(this,"isPrivate");$(this,"isTemplate");$(this,"tags",[]);$(this,"createdAt");$(this,"updatedAt");this._id=e,this.path=n,this.name=r,this.userId=i,this.companyId=o,this.isPrivate=s,this.isTemplate=a,this.createdAt=Date.now(),this.updatedAt=Date.now()}static fromJSON(e){const n=lr.placeholder();return n._id=e._id,n.path=e.path,n.name=e.name,n.userId=e.userId,n.companyId=e.companyId,n.isPrivate=e.isPrivate,n.isTemplate=e.isTemplate,n.tags=e.tags,n.createdAt=e.createdAt,n.updatedAt=e.updatedAt,n}static fromJSONList(e){return e.map(n=>lr.fromJSON(n))}static placeholder(){return new lr("Document name placholder","","Document name placholder","","",!1,!1)}toJSON(e=!1){return e?{folderId:this.path,name:this.name,userId:this.userId,companyId:this.companyId,isPrivate:this.isPrivate,isTemplate:this.isTemplate,tags:Array.from(this.tags)?this.tags:[],createdAt:this.createdAt,updatedAt:this.updatedAt}:{_id:this._id,folderId:this.path,name:this.name,userId:this.userId,companyId:this.companyId,isPrivate:this.isPrivate,isTemplate:this.isTemplate,tags:Array.from(this.tags)?this.tags:[],createdAt:this.createdAt,updatedAt:this.updatedAt}}}class ni{constructor(e,n,r){$(this,"labels");$(this,"datasets");$(this,"chartType");this.labels=e,this.datasets=n,this.chartType=r}static fromJson(e){const n=e.labels,r=e.datasets.map(i=>zn.fromJson(i));return new ni(n,r,e.chartType)}static toJson(e){return{labels:e.labels,datasets:e.datasets.map(n=>zn.toJson(n)),chartType:e.chartType}}static empty(){return new ni(["Label"],[zn.empty()],"pie")}addLabelAndData(e,n,r){this.labels=[...this.labels,e],this.datasets[0].addData(n,r)}removeData(e){const n=this.labels.indexOf(e);n>-1&&(this.labels=this.labels.filter((r,i)=>i!==n),this.datasets[0].removeData(n))}}class zn{constructor(e,n){$(this,"data");$(this,"backgroundColor");this.data=e,this.backgroundColor=n}static fromJson(e){return new zn(e.data,e.backgroundColor)}static toJson(e){return{data:e.data,backgroundColor:e.backgroundColor}}static empty(){return new zn([100],["#295dcf"])}addData(e,n){this.data=[...this.data,e],this.backgroundColor=[...this.backgroundColor,n]}removeData(e){this.data=this.data.filter((n,r)=>r!==e),this.backgroundColor=this.backgroundColor.filter((n,r)=>r!==e)}}const iv=t=>t.text!=null?ur.fromJSON(t):t.data!=null?ri.fromJSON(t):t.chart&&t.chart.labels!=null?ii.fromJSON(t):t.url!=null?oi.fromJSON(t):new Ve(t.index);class Ve{constructor(e){$(this,"Index");this.Index=e}toJSON(){return console.log("base element, something qent wrong here",this),{index:this.Index}}static fromJSON(e){return e.text?ur.fromJSON(e):new Ve(e.index)}static placeholder(e){return new Ve(e??0)}loadData(e){throw new Error("Method not implemented.")}getData(){throw new Error("Method not implemented.")}render(){throw new Error("Method not implemented.")}}class ur extends Ve{constructor(n,r){super(n);$(this,"Text");this.Text=r}toJSON(){return{index:this.Index,text:this.Text}}static fromJSON(n){return new ur(n.index??0,n.text)}static placeholder(n){return new ur(n??0,"")}loadData(n){this.Text=n}getData(){return this.Text}render(){return this.Text}}class ri extends Ve{constructor(n,r){super(n);$(this,"data");$(this,"classes");this.data=r,this.classes=[]}toJSON(){return console.log("table toJSON",this),{index:this.Index,data:this.data,classes:this.classes}}static fromJSON(n){let r=new ri(n.index,n.data);return r.classes=n.classes??[],r}static placeholder(n){let r=new ri(n??0,[]);return r.classes=[],r}loadData(n){console.log("table loadData",n),this.data=n.data,this.classes=n.classes}getData(){return{data:this.data,classes:this.classes??[]}}render(){const n="border: 1px solid black; border-collapse: collapse; padding: 8px;";let r=`<table style="${n}">`;return this.data.forEach(i=>{r+=`<tr style="${n}">`,i.forEach(o=>{r+=`<td style="${n}">${o}</td>`}),r+="</tr>"}),r+="</table>",r}}class ii extends Ve{constructor(n,r){super(n);$(this,"Chart");this.Chart=r}toJSON(){return{index:this.Index,chart:this.Chart}}static fromJSON(n){return new ii(n.index,ni.fromJson(n.chart))}static placeholder(n){return new ii(n??0,{labels:[],datasets:[],addLabelAndData:()=>{},removeData:()=>{},chartType:"pie"})}loadData(n){this.Chart=n}getData(){return this.Chart}render(){return""}}class oi extends Ve{constructor(n,r){super(n);$(this,"Url");this.Url=r}toJSON(){return{index:this.Index,url:this.Url}}static fromJSON(n){return new oi(n.index,n.url)}static placeholder(n){return new oi(n??0,"")}loadData(n){this.Url=n}getData(){return this.Url}render(){return`<img src="${this.Url}" alt="Image" style="max-width: 100%; height: auto;">`}}class cr{constructor(e,n,r,i,o,s,a){$(this,"_id");$(this,"documentId");$(this,"number");$(this,"confirmed");$(this,"paragraphs");$(this,"updatedAt");$(this,"createdAt");this._id=a??"",this.documentId=r,this.number=e,this.confirmed=n,this.paragraphs=i,this.updatedAt=o,this.createdAt=s}toJSON(e){return e&&e.excludeId?{documentId:this.documentId,number:this.number,confirmed:this.confirmed,paragraphs:Array.isArray(this.paragraphs)&&this.paragraphs.length>0?this.paragraphs.map(n=>n.toJSON()):[],updatedAt:this.updatedAt,createdAt:this.createdAt}:{_id:this._id,documentId:this.documentId,number:this.number,confirmed:this.confirmed,paragraphs:this.paragraphs.map(n=>n.toJSON()),updatedAt:this.updatedAt,createdAt:this.createdAt}}getCreatedAt(){let e=new Date(0);return e.setUTCSeconds(this.createdAt??0),e}getUpdatedAt(){let e=new Date(0);return this.updatedAt=this.updatedAt??0,e.setUTCSeconds(this.updatedAt.toString().length==13?this.updatedAt/1e3:this.updatedAt),e}getNumberOfParagraphs(){const e=n=>{let r=0;return n.forEach(i=>{r++,r+=e(i.children)}),r};return e(this.paragraphs)}static fromJSON(e){const n=e.paragraphs&&Array.isArray(e.paragraphs)?e.paragraphs.map(r=>Ye.fromJSON(r)):[];return new cr(e.number??0,e.confirmed??!1,e.documentId,n,e.updatedAt,e.createdAt,e._id)}hash(){const e=JSON.stringify(this.paragraphs);let n=0;if(e.length===0)return n.toString();for(const r of e)n^=r.charCodeAt(0);return n.toString()}static placeholder(){return new cr(0,!1,"",[],Date.now(),Date.now(),Math.random().toString(36).substring(7))}static fromJSONList(e){return e?e.map(cr.fromJSON):[]}}class Ye{constructor(e,n,r,i,o,s){$(this,"id");$(this,"indexes");$(this,"title");$(this,"validated");$(this,"column");$(this,"children");$(this,"lastIndex",()=>this.indexes.length===1?this.indexes[0]:this.indexes[this.indexes.length-1]);this.id=e,this.indexes=n,this.title=r,this.column=o,this.children=s,this.validated=i}toJSON(){return{id:this.id,indexes:this.indexes,title:this.title,validated:this.validated,column:Array.isArray(this.column)?this.column.map(e=>e.toJSON()):[],children:this.children.map(e=>e.toJSON())}}static fromJSON(e){const n=e.children?e.children.map(o=>Ye.fromJSON(o)):[],r=e.column?e.column.map(o=>iv(o)):[];return new Ye(e.id,e.indexes,e.title,e.validated??!1,r,n)}static placeholder(){return new Ye(Math.random().toString(36).substring(7),[0],"",!1,[],[])}static placeholderWithIndexes(e){return new Ye(Math.random().toString(36).substring(7),e,"",!1,[],[])}static validateAll(e){return e.forEach(n=>{n.validated=!0;const r=Ye.validateAll(n.children);n.children=r}),e}static checkValidation(e){let n=!0;return e.forEach(r=>{r.validated||(n=!1),Ye.checkValidation(r.children)||(n=!1)}),n}}class Xe extends Yr{static async getDocuments(){const n=await(await this.f("GET","procedures")).text(),r=JSON.parse(n);return lr.fromJSONList(r)}static async getVersions(e){try{const r=await(await this.f("GET",`procedures/${e}/versions`)).json();return cr.fromJSONList(r)}catch(n){return console.error(n),null}}static async createEmptyProcedure(e){try{return(await this.f("POST","procedures",e)).json()}catch(n){return console.error(n),null}}static async createProcedureWithAI(e){try{return(await this.f("POST","procedures/generate/standard",e)).json()}catch(n){return console.error(n),null}}static async addNewVersion(e){try{const n=await this.f("POST",`procedures/${e}/new`,{});return n.status!=200&&n.status!=201?n.text():n.json()}catch(n){return console.error(n),null}}static async updateDocument(e,n,r,i,o){const s={title:n,norms:r,secret:i,tags:o};return(await this.f("PUT",`procedures/${e}`,s)).json()}static async createProcedureFromTemplate(e){let n=[],r=[];(()=>{let a=new Set,l=new Set;for(let u of e.tags)if(u.name==="norms")for(let c of u.value)l.add(c);else for(let c of u.value)a.add(c);n=[...Array.from(a)],r=[...Array.from(l)]})();let o={title:e.name,norms:r,isTemplate:!1,templateFather:e._id,secret:e.isPrivate,tags:n};return(await this.f("POST","procedures",o)).json()}static async deleteDocument(e){return(await this.f("DELETE",`procedures/${e}`,{})).json()}}var ov=t=>t.stopPropagation(),sv=(t,e)=>e(!1),av=(t,e,n,r)=>{e()(v(n)._id),r(!1)},lv=O('<button class="version-button svelte-14dsb8b"><div class="logo svelte-14dsb8b"><!></div> <span class="version-name svelte-14dsb8b"> </span> <!></button>'),uv=O('<div class="new-version svelte-14dsb8b"><button class="new-version-button svelte-14dsb8b"><!> </button></div>'),cv=O('<div role="button" class="versios-dialog-backdrop svelte-14dsb8b"><div role="button" class="versions-dialog-content svelte-14dsb8b"><div class="header svelte-14dsb8b"><h3> </h3> <button class="close-button svelte-14dsb8b"><!></button></div> <div class="versions svelte-14dsb8b"></div> <!></div></div>');const dv={hash:"svelte-14dsb8b",code:".new-version-button.svelte-14dsb8b {display:flex;align-items:center;justify-content:center;gap:2px;}.versios-dialog-backdrop.svelte-14dsb8b {position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;cursor:default;}.versions-dialog-content.svelte-14dsb8b {background-color:white;padding:20px;border-radius:5px;width:300px;z-index:100;cursor:default;}.versions.svelte-14dsb8b {margin-top:10px;display:flex;flex-direction:column;}.version-button.svelte-14dsb8b {display:flex;align-items:center;justify-content:space-between;border:none;background-color:#e7eef8;cursor:pointer;transition:200ms;width:100%;height:50px;}.version-button.svelte-14dsb8b:hover {background-color:#d6e2f2;}.new-version.svelte-14dsb8b {display:flex;justify-content:right;}.new-version.svelte-14dsb8b button:where(.svelte-14dsb8b) {padding:10px;border:none;background-color:#295dcf;border-radius:15px;cursor:pointer;transition:200ms;margin-top:10px;color:white;}.new-version.svelte-14dsb8b button:where(.svelte-14dsb8b):hover {background-color:#1f4aa8;}.logo.svelte-14dsb8b {display:flex;justify-content:center;align-items:center;height:20px;width:17px;}.versions.svelte-14dsb8b :where(.svelte-14dsb8b):first-child {border-radius:5px 5px 0 0;}.versions.svelte-14dsb8b :where(.svelte-14dsb8b):last-child {border-radius:0 0 5px 5px;}.header.svelte-14dsb8b {display:flex;align-items:center;justify-content:space-between;}.close-button.svelte-14dsb8b {display:flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:100% !important;border:none;color:white !important;background-color:red !important;cursor:pointer;font-size:1.5rem;padding:3px !important;}"};function Nl(t,e){U(e,!0),J(t,dv);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"showVersionsDialog",15),o=m(e,"versions",15),s=m(e,"openEditor",7),a=m(e,"addNewVersion",7);const l=x=>{const k={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:"Europe/Rome"};return new Intl.DateTimeFormat("it-IT",k).format(x).replace(",","")};var u=cv(),c=S(u);c.__click=[ov];var d=S(c),f=S(d),h=S(f,!0);j(()=>K(h,r()("versions"))),y(f);var b=P(f,2);b.__click=[sv,i];var g=S(b);kt(g,{icon:"material-symbols-light:close-rounded",width:"30px",height:"30px"}),y(b),y(d);var _=P(d,2);Tt(_,21,o,Ct,(x,k)=>{var E=lv();E.__click=[av,s,k,i];var C=S(E),N=S(C);No(N,{color:"#28853d"}),y(C);var z=P(C,2),L=S(z,!0);j(()=>K(L,l(new Date(v(k).updatedAt)))),y(z);var F=P(z,2);{var M=W=>{kt(W,{icon:"mdi:tick",width:"24",height:"24",style:"color:green "})},B=W=>{kt(W,{icon:"ic:outline-edit",width:"18px",height:"18px"})};gt(F,W=>{v(k).confirmed?W(M):W(B,!1)})}y(E),I(x,E)}),y(_);var w=P(_,2);{var A=x=>{var k=uv(),E=S(k);E.__click=function(...z){var L;(L=a())==null||L.apply(this,z)};var C=S(E);kt(C,{icon:"mingcute:plus-fill",width:"16",height:"18"});var N=P(C,1,!0);j(()=>K(N,r()("new-version"))),y(E),y(k),I(x,k)};gt(w,x=>{o()[o().length-1].confirmed&&x(A)})}return y(c),y(u),I(t,u),G({get showVersionsDialog(){return i()},set showVersionsDialog(x){i(x),p()},get versions(){return o()},set versions(x){o(x),p()},get openEditor(){return s()},set openEditor(x){s(x),p()},get addNewVersion(){return a()},set addNewVersion(x){a(x),p()}})}ye(["click"]),q(Nl,{showVersionsDialog:{},versions:{},openEditor:{},addNewVersion:{}},[],[],!0);var fv=(t,e)=>{t.target&&e()(t.target.value)},hv=O("<option> </option>"),vv=(t,e)=>t.key==="Enter"&&e()(),pv=(t,e,n)=>e()(v(n)),mv=O('<div class="norm svelte-nhs40h"><span class="svelte-nhs40h"> </span> <button class="svelte-nhs40h">x</button></div>'),gv=O('<div class="norms svelte-nhs40h"></div>'),bv=O('<div class="norm-selection svelte-nhs40h"><div class="norm-selection-top svelte-nhs40h"><select class="svelte-nhs40h"></select> <div class="add-norm svelte-nhs40h"><input type="text" class="tags svelte-nhs40h"> <button class="add-norm-button svelte-nhs40h"><!></button></div></div> <!></div>');const _v={hash:"svelte-nhs40h",code:`.norm-selection-top.svelte-nhs40h {display:flex;gap:0.5rem;}.norm-selection-top.svelte-nhs40h select:where(.svelte-nhs40h) {width:50%;}select.svelte-nhs40h,\r
|
|
6
|
+
input[type="text"].svelte-nhs40h,\r
|
|
7
|
+
button.svelte-nhs40h {padding:0.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;}button.svelte-nhs40h {background-color:#295dcf;color:white;cursor:pointer;transition:background-color 0.3s;}button.svelte-nhs40h:hover {background-color:#0056b3;}.add-norm.svelte-nhs40h {display:flex;width:50%;}.add-norm.svelte-nhs40h input[type="text"]:where(.svelte-nhs40h) {flex-grow:1;border-right:none;border-radius:5px 0px 0px 5px !important;}.add-norm-button.svelte-nhs40h {border-left:none;border-radius:0px 5px 5px 0px !important;border-color:#0056b3;}.norm-selection.svelte-nhs40h .norms:where(.svelte-nhs40h) {display:flex;flex-wrap:wrap;gap:0.5rem;padding:0;list-style:none;}.norm.svelte-nhs40h {display:flex;align-items:center;gap:0.5rem;padding:0.2rem 0.5rem;border:1px solid #ccc;border-radius:4px;background-color:#f9f9f9;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:0.5rem;}.norm.svelte-nhs40h span:where(.svelte-nhs40h) {flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.norm.svelte-nhs40h button:where(.svelte-nhs40h) {background:none;border:none;color:#d9534f;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;}.norm.svelte-nhs40h button:where(.svelte-nhs40h):hover {color:#c9302c;}`};function si(t,e){U(e,!0),J(t,_v);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"localNorms",15),o=m(e,"selectedNorms",15),s=m(e,"selectNorm",7),a=m(e,"addNorm",7),l=m(e,"removeSelectedNorm",7),u=m(e,"newNorm",15);var c=bv(),d=S(c),f=S(d);f.__change=[fv,s],Tt(f,21,i,Ct,(x,k)=>{var E=hv(),C={},N=S(E,!0);y(E),j(()=>{C!==(C=v(k))&&(E.value=(E.__value=v(k))==null?"":v(k)),K(N,v(k))}),I(x,E)}),y(f);var h=P(f,2),b=S(h);Re(b),j(()=>H(b,"placeholder",r()("add-norm-tag"))),b.__keydown=[vv,a];var g=P(b,2);g.__click=function(...x){var k;(k=a())==null||k.apply(this,x)};var _=S(g);kt(_,{icon:"mingcute:plus-fill",width:"12",height:"12"}),y(g),y(h),y(d);var w=P(d,2);{var A=x=>{var k=gv();Tt(k,21,o,Ct,(E,C)=>{var N=mv(),z=S(N),L=S(z,!0);y(z);var F=P(z,2);F.__click=[pv,l,C],y(N),j(()=>K(L,v(C))),I(E,N)}),y(k),I(x,k)};gt(w,x=>{o().length>0&&x(A)})}return y(c),$e(b,u),I(t,c),G({get localNorms(){return i()},set localNorms(x){i(x),p()},get selectedNorms(){return o()},set selectedNorms(x){o(x),p()},get selectNorm(){return s()},set selectNorm(x){s(x),p()},get addNorm(){return a()},set addNorm(x){a(x),p()},get removeSelectedNorm(){return l()},set removeSelectedNorm(x){l(x),p()},get newNorm(){return u()},set newNorm(x){u(x),p()}})}ye(["change","keydown","click"]),q(si,{localNorms:{},selectedNorms:{},selectNorm:{},addNorm:{},removeSelectedNorm:{},newNorm:{}},[],[],!0);var yv=O('<div class="circle svelte-dqjlks"></div>');const xv={hash:"svelte-dqjlks",code:`.circle.svelte-dqjlks {height:var(--size);width:var(--size);border-color:var(--color) transparent var(--color) var(--color);border-width:calc(var(--size) / 15);border-style:solid;border-image:initial;border-radius:50%;
|
|
8
|
+
animation: var(--duration) linear 0s infinite normal none running svelte-dqjlks-rotate;}.pause-animation.svelte-dqjlks {animation-play-state:paused;}
|
|
9
|
+
@keyframes svelte-dqjlks-rotate {
|
|
10
|
+
0% {
|
|
11
|
+
transform: rotate(0);
|
|
12
|
+
}
|
|
13
|
+
100% {
|
|
14
|
+
transform: rotate(360deg);
|
|
15
|
+
}
|
|
16
|
+
}`};function ai(t,e){U(e,!1),J(t,xv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"0.75s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=yv();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""}`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(ai,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var wv=O('<div class="circle svelte-1w4sjib"></div>');const kv={hash:"svelte-1w4sjib",code:`.circle.svelte-1w4sjib {width:var(--size);height:var(--size);box-sizing:border-box;position:relative;border:3px solid transparent;border-top-color:var(--colorOuter);border-radius:50%;
|
|
17
|
+
animation: svelte-1w4sjib-circleSpin var(--durationOuter) linear infinite;}.circle.svelte-1w4sjib::before,
|
|
18
|
+
.circle.svelte-1w4sjib::after {content:'';box-sizing:border-box;position:absolute;border:3px solid transparent;border-radius:50%;}.circle.svelte-1w4sjib::after {border-top-color:var(--colorInner);top:9px;left:9px;right:9px;bottom:9px;
|
|
19
|
+
animation: svelte-1w4sjib-circleSpin var(--durationInner) linear infinite;}.circle.svelte-1w4sjib::before {border-top-color:var(--colorCenter);top:3px;left:3px;right:3px;bottom:3px;
|
|
20
|
+
animation: svelte-1w4sjib-circleSpin var(--durationCenter) linear infinite;}.pause-animation.svelte-1w4sjib,
|
|
21
|
+
.pause-animation.svelte-1w4sjib::after,
|
|
22
|
+
.pause-animation.svelte-1w4sjib::before {animation-play-state:paused;}
|
|
23
|
+
|
|
24
|
+
@keyframes svelte-1w4sjib-circleSpin {
|
|
25
|
+
0% {
|
|
26
|
+
transform: rotate(0deg);
|
|
27
|
+
}
|
|
28
|
+
100% {
|
|
29
|
+
transform: rotate(360deg);
|
|
30
|
+
}
|
|
31
|
+
}`};function Ev(t,e){U(e,!1),J(t,kv);let n=m(e,"size",12,"60"),r=m(e,"unit",12,"px"),i=m(e,"pause",12,!1),o=m(e,"colorOuter",12,"#FF3E00"),s=m(e,"colorCenter",12,"#40B3FF"),a=m(e,"colorInner",12,"#676778"),l=m(e,"durationMultiplier",12,1),u=m(e,"durationOuter",28,()=>`${l()*2}s`),c=m(e,"durationInner",28,()=>`${l()*1.5}s`),d=m(e,"durationCenter",28,()=>`${l()*3}s`);var f=wv();return j(()=>{H(f,"style",`--size: ${n()??""}${r()??""}; --colorInner: ${a()??""}; --colorCenter: ${s()??""}; --colorOuter: ${o()??""}; --durationInner: ${c()??""}; --durationCenter: ${d()??""}; --durationOuter: ${u()??""};`),it(f,"pause-animation",i())}),I(t,f),G({get size(){return n()},set size(h){n(h),p()},get unit(){return r()},set unit(h){r(h),p()},get pause(){return i()},set pause(h){i(h),p()},get colorOuter(){return o()},set colorOuter(h){o(h),p()},get colorCenter(){return s()},set colorCenter(h){s(h),p()},get colorInner(){return a()},set colorInner(h){a(h),p()},get durationMultiplier(){return l()},set durationMultiplier(h){l(h),p()},get durationOuter(){return u()},set durationOuter(h){u(h),p()},get durationInner(){return c()},set durationInner(h){c(h),p()},get durationCenter(){return d()},set durationCenter(h){d(h),p()}})}q(Ev,{size:{},unit:{},pause:{},colorOuter:{},colorCenter:{},colorInner:{},durationMultiplier:{},durationOuter:{},durationInner:{},durationCenter:{}},[],[],!0);var Sv=O('<div class="wrapper svelte-7wj78d"><div class="inner svelte-7wj78d"><div class="ball-container svelte-7wj78d"><div class="single-ball svelte-7wj78d"><div class="ball ball-top-left svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-top-right svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-bottom-left svelte-7wj78d"> </div></div> <div class="contener_mixte svelte-7wj78d"><div class="ball ball-bottom-right svelte-7wj78d"> </div></div></div></div></div>');const Av={hash:"svelte-7wj78d",code:`.wrapper.svelte-7wj78d {width:var(--size);height:var(--size);display:flex;justify-content:center;align-items:center;line-height:0;box-sizing:border-box;}.inner.svelte-7wj78d {transform:scale(calc(var(--floatSize) / 52));}.ball-container.svelte-7wj78d {
|
|
32
|
+
animation: svelte-7wj78d-ballTwo var(--duration) infinite;width:44px;height:44px;flex-shrink:0;position:relative;}.single-ball.svelte-7wj78d {width:44px;height:44px;position:absolute;}.ball.svelte-7wj78d {width:20px;height:20px;border-radius:50%;position:absolute;
|
|
33
|
+
animation: svelte-7wj78d-ballOne var(--duration) infinite ease;}.pause-animation.svelte-7wj78d {animation-play-state:paused;}.ball-top-left.svelte-7wj78d {background-color:var(--ballTopLeftColor);top:0;left:0;}.ball-top-right.svelte-7wj78d {background-color:var(--ballTopRightColor);top:0;left:24px;}.ball-bottom-left.svelte-7wj78d {background-color:var(--ballBottomLeftColor);top:24px;left:0;}.ball-bottom-right.svelte-7wj78d {background-color:var(--ballBottomRightColor);top:24px;left:24px;}
|
|
34
|
+
@keyframes svelte-7wj78d-ballOne {
|
|
35
|
+
0% {
|
|
36
|
+
position: absolute;
|
|
37
|
+
}
|
|
38
|
+
50% {
|
|
39
|
+
top: 12px;
|
|
40
|
+
left: 12px;
|
|
41
|
+
position: absolute;
|
|
42
|
+
opacity: 0.5;
|
|
43
|
+
}
|
|
44
|
+
100% {
|
|
45
|
+
position: absolute;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
@keyframes svelte-7wj78d-ballTwo {
|
|
49
|
+
0% {
|
|
50
|
+
transform: rotate(0deg) scale(1);
|
|
51
|
+
}
|
|
52
|
+
50% {
|
|
53
|
+
transform: rotate(360deg) scale(1.3);
|
|
54
|
+
}
|
|
55
|
+
100% {
|
|
56
|
+
transform: rotate(720deg) scale(1);
|
|
57
|
+
}
|
|
58
|
+
}`};function Cv(t,e){U(e,!1),J(t,Av);let n=m(e,"size",12,"60"),r=m(e,"unit",12,"px"),i=m(e,"pause",12,!1),o=m(e,"ballTopLeft",12,"#FF3E00"),s=m(e,"ballTopRight",12,"#F8B334"),a=m(e,"ballBottomLeft",12,"#40B3FF"),l=m(e,"ballBottomRight",12,"#676778"),u=m(e,"duration",12,"1.5s");var c=Sv(),d=S(c),f=S(d),h=S(f),b=S(h);y(h);var g=P(h,2),_=S(g);y(g);var w=P(g,2),A=S(w);y(w);var x=P(w,2),k=S(x);return y(x),y(f),y(d),y(c),j(()=>{H(c,"style",`--size: ${n()??""}${r()??""}; --floatSize: ${n()??""}; --ballTopLeftColor: ${o()??""}; --ballTopRightColor: ${s()??""}; --ballBottomLeftColor: ${a()??""}; --ballBottomRightColor: ${l()??""}; --duration: ${u()??""};`),it(f,"pause-animation",i()),it(b,"pause-animation",i()),it(_,"pause-animation",i()),it(A,"pause-animation",i()),it(k,"pause-animation",i())}),I(t,c),G({get size(){return n()},set size(E){n(E),p()},get unit(){return r()},set unit(E){r(E),p()},get pause(){return i()},set pause(E){i(E),p()},get ballTopLeft(){return o()},set ballTopLeft(E){o(E),p()},get ballTopRight(){return s()},set ballTopRight(E){s(E),p()},get ballBottomLeft(){return a()},set ballBottomLeft(E){a(E),p()},get ballBottomRight(){return l()},set ballBottomRight(E){l(E),p()},get duration(){return u()},set duration(E){u(E),p()}})}q(Cv,{size:{},unit:{},pause:{},ballTopLeft:{},ballTopRight:{},ballBottomLeft:{},ballBottomRight:{},duration:{}},[],[],!0);const It=/[a-zA-Z]/,zo=(t,e)=>{if(t[0]==="#"&&(t=t.slice(1)),t.length===3){let r="";t.split("").forEach(i=>{r+=i,r+=i}),t=r}return`rgba(${(t.match(/.{2}/g)||[]).map(r=>parseInt(r,16)).join(", ")}, ${e})`},me=(t,e=0)=>[...Array(t).keys()].map(n=>n+e);var Tv=O('<div class="circle svelte-1bsg8wv"></div>'),Nv=O('<div class="wrapper svelte-1bsg8wv"></div>');const zv={hash:"svelte-1bsg8wv",code:`.wrapper.svelte-1bsg8wv {position:relative;width:var(--size);height:var(--size);}.circle.svelte-1bsg8wv {position:absolute;width:var(--size);height:var(--size);background-color:var(--color);border-radius:100%;opacity:0.6;top:0;left:0;animation-fill-mode:both;
|
|
59
|
+
animation-name: svelte-1bsg8wv-bounce !important;}.pause-animation.svelte-1bsg8wv {animation-play-state:paused;}
|
|
60
|
+
@keyframes svelte-1bsg8wv-bounce {
|
|
61
|
+
0%,
|
|
62
|
+
100% {
|
|
63
|
+
transform: scale(0);
|
|
64
|
+
}
|
|
65
|
+
50% {
|
|
66
|
+
transform: scale(1);
|
|
67
|
+
}
|
|
68
|
+
}`};function Iv(t,e){var c;U(e,!1),J(t,zv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"2.1s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=Nv();return Tt(u,5,()=>me(2,1),Ct,(d,f)=>{var h=Tv();j(()=>{H(h,"style",`animation: ${i()??""} ${(v(f)===1?`${(+l-.1)/2}${a}`:"0s")??""} infinite ease-in-out`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(Iv,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var jv=O('<div class="spinner spinner--google svelte-rhgdjk"></div>');const Ov={hash:"svelte-rhgdjk",code:`.svelte-rhgdjk {overflow:hidden;position:relative;text-indent:-9999px;display:inline-block;background:#f86;border-radius:50%;transform:rotateZ(90deg);transform-origin:50% 50%;
|
|
69
|
+
animation: svelte-rhgdjk-plus-loader-background var(--duration) infinite ease-in-out;}.svelte-rhgdjk::after {background:#f86;border-radius:50% 0 0 50%;content:'';position:absolute;right:50%;top:0;width:50%;height:100%;transform-origin:100% 50%;
|
|
70
|
+
animation: svelte-rhgdjk-plus-loader-top var(--duration) infinite linear;}.svelte-rhgdjk::before {background:#fc6;border-radius:50% 0 0 50%;content:'';position:absolute;right:50%;top:0;width:50%;height:100%;transform-origin:100% 50%;
|
|
71
|
+
animation: svelte-rhgdjk-plus-loader-bottom var(--duration) infinite linear;}.pause-animation.svelte-rhgdjk,
|
|
72
|
+
.pause-animation.svelte-rhgdjk::before,
|
|
73
|
+
.pause-animation.svelte-rhgdjk::after {animation-play-state:paused;}
|
|
74
|
+
|
|
75
|
+
@keyframes svelte-rhgdjk-plus-loader-top {
|
|
76
|
+
2.5% {
|
|
77
|
+
background: #f86;
|
|
78
|
+
transform: rotateY(0deg);
|
|
79
|
+
animation-timing-function: ease-in;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
13.75% {
|
|
83
|
+
background: #ff430d;
|
|
84
|
+
transform: rotateY(90deg);
|
|
85
|
+
animation-timing-function: step-start;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
13.76% {
|
|
89
|
+
background: #ffae0d;
|
|
90
|
+
transform: rotateY(90deg);
|
|
91
|
+
animation-timing-function: ease-out;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
25% {
|
|
95
|
+
background: #fc6;
|
|
96
|
+
transform: rotateY(180deg);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
27.5% {
|
|
100
|
+
background: #fc6;
|
|
101
|
+
transform: rotateY(180deg);
|
|
102
|
+
animation-timing-function: ease-in;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
41.25% {
|
|
106
|
+
background: #ffae0d;
|
|
107
|
+
transform: rotateY(90deg);
|
|
108
|
+
animation-timing-function: step-start;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
41.26% {
|
|
112
|
+
background: #2cc642;
|
|
113
|
+
transform: rotateY(90deg);
|
|
114
|
+
animation-timing-function: ease-out;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
50% {
|
|
118
|
+
background: #6d7;
|
|
119
|
+
transform: rotateY(0deg);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
52.5% {
|
|
123
|
+
background: #6d7;
|
|
124
|
+
transform: rotateY(0deg);
|
|
125
|
+
animation-timing-function: ease-in;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
63.75% {
|
|
129
|
+
background: #2cc642;
|
|
130
|
+
transform: rotateY(90deg);
|
|
131
|
+
animation-timing-function: step-start;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
63.76% {
|
|
135
|
+
background: #1386d2;
|
|
136
|
+
transform: rotateY(90deg);
|
|
137
|
+
animation-timing-function: ease-out;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
75% {
|
|
141
|
+
background: #4ae;
|
|
142
|
+
transform: rotateY(180deg);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
77.5% {
|
|
146
|
+
background: #4ae;
|
|
147
|
+
transform: rotateY(180deg);
|
|
148
|
+
animation-timing-function: ease-in;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
91.25% {
|
|
152
|
+
background: #1386d2;
|
|
153
|
+
transform: rotateY(90deg);
|
|
154
|
+
animation-timing-function: step-start;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
91.26% {
|
|
158
|
+
background: #ff430d;
|
|
159
|
+
transform: rotateY(90deg);
|
|
160
|
+
animation-timing-function: ease-in;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
100% {
|
|
164
|
+
background: #f86;
|
|
165
|
+
transform: rotateY(0deg);
|
|
166
|
+
animation-timing-function: step-start;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@keyframes svelte-rhgdjk-plus-loader-bottom {
|
|
171
|
+
0% {
|
|
172
|
+
background: #fc6;
|
|
173
|
+
animation-timing-function: step-start;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
50% {
|
|
177
|
+
background: #fc6;
|
|
178
|
+
animation-timing-function: step-start;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
75% {
|
|
182
|
+
background: #4ae;
|
|
183
|
+
animation-timing-function: step-start;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
100% {
|
|
187
|
+
background: #4ae;
|
|
188
|
+
animation-timing-function: step-start;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@keyframes svelte-rhgdjk-plus-loader-background {
|
|
193
|
+
0% {
|
|
194
|
+
background: #f86;
|
|
195
|
+
transform: rotateZ(180deg);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
25% {
|
|
199
|
+
background: #f86;
|
|
200
|
+
transform: rotateZ(180deg);
|
|
201
|
+
animation-timing-function: step-start;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
27.5% {
|
|
205
|
+
background: #6d7;
|
|
206
|
+
transform: rotateZ(90deg);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
50% {
|
|
210
|
+
background: #6d7;
|
|
211
|
+
transform: rotateZ(90deg);
|
|
212
|
+
animation-timing-function: step-start;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
52.5% {
|
|
216
|
+
background: #6d7;
|
|
217
|
+
transform: rotateZ(0deg);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
75% {
|
|
221
|
+
background: #6d7;
|
|
222
|
+
transform: rotateZ(0deg);
|
|
223
|
+
animation-timing-function: step-start;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
77.5% {
|
|
227
|
+
background: #f86;
|
|
228
|
+
transform: rotateZ(270deg);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
100% {
|
|
232
|
+
background: #f86;
|
|
233
|
+
transform: rotateZ(270deg);
|
|
234
|
+
animation-timing-function: step-start;
|
|
235
|
+
}
|
|
236
|
+
}`};function Lv(t,e){U(e,!1),J(t,Ov);const n=Zt();let r=m(e,"size",12,"40px"),i=m(e,"duration",12,"3s"),o=m(e,"pause",12,!1);Te(()=>Kt(r()),()=>{T(n,[`width: ${r()}`,`height: ${r()}`].join(";"))}),He(),Nt();var s=jv();return j(()=>{H(s,"style",`--duration: ${i()??""}; ${v(n)??""}`),it(s,"pause-animation",o())}),I(t,s),G({get size(){return r()},set size(a){r(a),p()},get duration(){return i()},set duration(a){i(a),p()},get pause(){return o()},set pause(a){o(a),p()}})}q(Lv,{size:{},duration:{},pause:{}},[],[],!0);var Pv=O('<div class="wrapper svelte-1w1ueev"><div class="circle svelte-1w1ueev"></div></div>');const Hv={hash:"svelte-1w1ueev",code:`.wrapper.svelte-1w1ueev {width:var(--size);height:var(--size);}.circle.svelte-1w1ueev {width:var(--size);height:var(--size);background-color:var(--color);animation-duration:var(--duration);border-radius:100%;display:inline-block;
|
|
237
|
+
animation: svelte-1w1ueev-scaleOut var(--duration) ease-in-out infinite;}.pause-animation.svelte-1w1ueev {animation-play-state:paused;}
|
|
238
|
+
@keyframes svelte-1w1ueev-scaleOut {
|
|
239
|
+
0% {
|
|
240
|
+
transform: scale(0);
|
|
241
|
+
}
|
|
242
|
+
100% {
|
|
243
|
+
transform: scale(1);
|
|
244
|
+
opacity: 0;
|
|
245
|
+
}
|
|
246
|
+
}`};function Bv(t,e){U(e,!1),J(t,Hv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=Pv(),l=S(a);return y(a),j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""}; --duration: ${i()??""};`),it(l,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(u){n(u),p()},get unit(){return r()},set unit(u){r(u),p()},get duration(){return i()},set duration(u){i(u),p()},get size(){return o()},set size(u){o(u),p()},get pause(){return s()},set pause(u){s(u),p()}})}q(Bv,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Mv=O('<div class="wrapper svelte-nfuakd"><div class="line svelte-nfuakd"></div></div>');const Dv={hash:"svelte-nfuakd",code:`.wrapper.svelte-nfuakd {width:var(--size);height:var(--stroke);transform:scale(calc(var(--floatSize) / 75));display:flex;justify-content:center;align-items:center;}.line.svelte-nfuakd {width:var(--size);height:var(--stroke);background:var(--color);border-radius:var(--stroke);transform-origin:center center;
|
|
247
|
+
animation: svelte-nfuakd-spineLine var(--duration) ease infinite;}.pause-animation.svelte-nfuakd {animation-play-state:paused;}
|
|
248
|
+
@keyframes svelte-nfuakd-spineLine {
|
|
249
|
+
0% {
|
|
250
|
+
transform: rotate(-20deg);
|
|
251
|
+
height: 5px;
|
|
252
|
+
width: 75px;
|
|
253
|
+
}
|
|
254
|
+
5% {
|
|
255
|
+
height: 5px;
|
|
256
|
+
width: 75px;
|
|
257
|
+
}
|
|
258
|
+
30% {
|
|
259
|
+
transform: rotate(380deg);
|
|
260
|
+
height: 5px;
|
|
261
|
+
width: 75px;
|
|
262
|
+
}
|
|
263
|
+
40% {
|
|
264
|
+
transform: rotate(360deg);
|
|
265
|
+
height: 5px;
|
|
266
|
+
width: 75px;
|
|
267
|
+
}
|
|
268
|
+
55% {
|
|
269
|
+
transform: rotate(0deg);
|
|
270
|
+
height: 5px;
|
|
271
|
+
width: 5px;
|
|
272
|
+
}
|
|
273
|
+
65% {
|
|
274
|
+
transform: rotate(0deg);
|
|
275
|
+
height: 5px;
|
|
276
|
+
width: 85px;
|
|
277
|
+
}
|
|
278
|
+
68% {
|
|
279
|
+
transform: rotate(0deg);
|
|
280
|
+
height: 5px;
|
|
281
|
+
}
|
|
282
|
+
75% {
|
|
283
|
+
transform: rotate(0deg);
|
|
284
|
+
height: 5px;
|
|
285
|
+
width: 1px;
|
|
286
|
+
}
|
|
287
|
+
78% {
|
|
288
|
+
height: 5px;
|
|
289
|
+
width: 5px;
|
|
290
|
+
}
|
|
291
|
+
90% {
|
|
292
|
+
height: 5px;
|
|
293
|
+
width: 75px;
|
|
294
|
+
transform: rotate(0deg);
|
|
295
|
+
}
|
|
296
|
+
99%,
|
|
297
|
+
100% {
|
|
298
|
+
height: 5px;
|
|
299
|
+
width: 75px;
|
|
300
|
+
transform: rotate(-20deg);
|
|
301
|
+
}
|
|
302
|
+
}`};function Rv(t,e){U(e,!1),J(t,Dv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"4s"),o=m(e,"size",12,"60"),s=m(e,"stroke",28,()=>+o()/12+r()),a=m(e,"pause",12,!1);var l=Mv(),u=S(l);return y(l),j(()=>{H(l,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --stroke: ${s()??""}; --floatSize: ${o()??""}; --duration: ${i()??""}`),it(u,"pause-animation",a())}),I(t,l),G({get color(){return n()},set color(c){n(c),p()},get unit(){return r()},set unit(c){r(c),p()},get duration(){return i()},set duration(c){i(c),p()},get size(){return o()},set size(c){o(c),p()},get stroke(){return s()},set stroke(c){s(c),p()},get pause(){return a()},set pause(c){a(c),p()}})}q(Rv,{color:{},unit:{},duration:{},size:{},stroke:{},pause:{}},[],[],!0);var $v=O('<div class="rect svelte-cihful"></div>'),Fv=O('<div class="wrapper svelte-cihful"></div>');const Uv={hash:"svelte-cihful",code:`.wrapper.svelte-cihful {height:var(--size);width:var(--size);display:inline-block;text-align:center;font-size:10px;}.rect.svelte-cihful {height:100%;width:10%;display:inline-block;margin-right:4px;transform:scaleY(0.4);background-color:var(--color);
|
|
303
|
+
animation: svelte-cihful-stretch var(--duration) ease-in-out infinite;}.pause-animation.svelte-cihful {animation-play-state:paused;}
|
|
304
|
+
@keyframes svelte-cihful-stretch {
|
|
305
|
+
0%,
|
|
306
|
+
40%,
|
|
307
|
+
100% {
|
|
308
|
+
transform: scaleY(0.4);
|
|
309
|
+
}
|
|
310
|
+
20% {
|
|
311
|
+
transform: scaleY(1);
|
|
312
|
+
}
|
|
313
|
+
}`};function Gv(t,e){var c;U(e,!1),J(t,Uv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.2s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=Fv();return Tt(u,5,()=>me(5,1),Ct,(d,f)=>{var h=$v();j(()=>{H(h,"style",`animation-delay: ${(v(f)-1)*(+l/12)}${a??""}`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""}`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(Gv,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var qv=O("<div></div>"),Vv=O('<div class="wrapper svelte-bnawe9"></div>');const Yv={hash:"svelte-bnawe9",code:`.wrapper.svelte-bnawe9 {height:calc(var(--size) / 15);width:calc(var(--size) * 2);background-color:var(--rgba);position:relative;overflow:hidden;background-clip:padding-box;}.lines.svelte-bnawe9 {height:calc(var(--size) / 15);background-color:var(--color);}.small-lines.svelte-bnawe9 {position:absolute;overflow:hidden;background-clip:padding-box;display:block;border-radius:2px;will-change:left, right;animation-fill-mode:forwards;}.small-lines.\\31.svelte-bnawe9 {
|
|
314
|
+
animation: var(--duration) cubic-bezier(0.65, 0.815, 0.735, 0.395) 0s infinite normal none
|
|
315
|
+
running svelte-bnawe9-long;}.small-lines.\\32.svelte-bnawe9 {
|
|
316
|
+
animation: var(--duration) cubic-bezier(0.165, 0.84, 0.44, 1) calc((var(--duration) + 0.1) / 2)
|
|
317
|
+
infinite normal none running svelte-bnawe9-short;}.pause-animation.svelte-bnawe9 {animation-play-state:paused;}
|
|
318
|
+
|
|
319
|
+
@keyframes svelte-bnawe9-long {
|
|
320
|
+
0% {
|
|
321
|
+
left: -35%;
|
|
322
|
+
right: 100%;
|
|
323
|
+
}
|
|
324
|
+
60% {
|
|
325
|
+
left: 100%;
|
|
326
|
+
right: -90%;
|
|
327
|
+
}
|
|
328
|
+
100% {
|
|
329
|
+
left: 100%;
|
|
330
|
+
right: -90%;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
@keyframes svelte-bnawe9-short {
|
|
334
|
+
0% {
|
|
335
|
+
left: -200%;
|
|
336
|
+
right: 100%;
|
|
337
|
+
}
|
|
338
|
+
60% {
|
|
339
|
+
left: 107%;
|
|
340
|
+
right: -8%;
|
|
341
|
+
}
|
|
342
|
+
100% {
|
|
343
|
+
left: 107%;
|
|
344
|
+
right: -8%;
|
|
345
|
+
}
|
|
346
|
+
}`};function Xv(t,e){U(e,!1),J(t,Yv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"2.1s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=Zt();Te(()=>Kt(n()),()=>{T(a,zo(n(),.2))}),He(),Nt();var l=Vv();return Tt(l,5,()=>me(2,1),Ct,(u,c)=>{var d=qv();j(()=>{Vs(d,`lines small-lines ${v(c)??""} svelte-bnawe9`),H(d,"style",`--color: ${n()??""}; --duration: ${i()??""};`),it(d,"pause-animation",s())}),I(u,d)}),y(l),j(()=>H(l,"style",`--size: ${o()??""}${r()??""}; --rgba:${v(a)??""}`)),I(t,l),G({get color(){return n()},set color(u){n(u),p()},get unit(){return r()},set unit(u){r(u),p()},get duration(){return i()},set duration(u){i(u),p()},get size(){return o()},set size(u){o(u),p()},get pause(){return s()},set pause(u){s(u),p()}})}q(Xv,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Jv=O('<div class="circle svelte-c0n7a9"></div>'),Wv=O('<div class="wrapper svelte-c0n7a9"></div>');const Zv={hash:"svelte-c0n7a9",code:`.wrapper.svelte-c0n7a9 {width:var(--size);height:var(--size);}.circle.svelte-c0n7a9 {border-radius:100%;animation-fill-mode:both;position:absolute;opacity:0;width:var(--size);height:var(--size);background-color:var(--color);
|
|
347
|
+
animation: svelte-c0n7a9-bounce var(--duration) linear infinite;}.pause-animation.svelte-c0n7a9 {animation-play-state:paused;}
|
|
348
|
+
@keyframes svelte-c0n7a9-bounce {
|
|
349
|
+
0% {
|
|
350
|
+
opacity: 0;
|
|
351
|
+
transform: scale(0);
|
|
352
|
+
}
|
|
353
|
+
5% {
|
|
354
|
+
opacity: 1;
|
|
355
|
+
}
|
|
356
|
+
100% {
|
|
357
|
+
opacity: 0;
|
|
358
|
+
transform: scale(1);
|
|
359
|
+
}
|
|
360
|
+
}`};function Qv(t,e){var c;U(e,!1),J(t,Zv);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=Wv();return Tt(u,5,()=>me(3,1),Ct,(d,f)=>{var h=Jv();j(()=>{H(h,"style",`animation-delay: ${+l/3*(v(f)-1)+a};`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(Qv,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Kv=O("<div></div>"),tp=O('<div class="wrapper svelte-kxapcj"></div>');const ep={hash:"svelte-kxapcj",code:`.wrapper.svelte-kxapcj {position:relative;width:var(--size);height:var(--size);}.border.svelte-kxapcj {border-color:var(--color);position:absolute;top:0px;left:0px;width:var(--size);height:var(--size);opacity:0.4;perspective:800px;border-width:6px;border-style:solid;border-image:initial;border-radius:100%;}.border.\\31.svelte-kxapcj {
|
|
361
|
+
animation: var(--duration) linear 0s infinite normal none running svelte-kxapcj-ringOne;}.border.\\32.svelte-kxapcj {
|
|
362
|
+
animation: var(--duration) linear 0s infinite normal none running svelte-kxapcj-ringTwo;}.pause-animation.svelte-kxapcj {animation-play-state:paused;}
|
|
363
|
+
|
|
364
|
+
@keyframes svelte-kxapcj-ringOne {
|
|
365
|
+
0% {
|
|
366
|
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
|
367
|
+
}
|
|
368
|
+
100% {
|
|
369
|
+
transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
@keyframes svelte-kxapcj-ringTwo {
|
|
373
|
+
0% {
|
|
374
|
+
transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
|
|
375
|
+
}
|
|
376
|
+
100% {
|
|
377
|
+
transform: rotateX(180deg) rotateY(360deg) rotateZ(360deg);
|
|
378
|
+
}
|
|
379
|
+
}`};function np(t,e){U(e,!1),J(t,ep);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"2s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);Nt();var a=tp();return Tt(a,5,()=>me(2,1),Ct,(l,u)=>{var c=Kv();j(()=>{Vs(c,`border ${v(u)??""} svelte-kxapcj`),it(c,"pause-animation",s())}),I(l,c)}),y(a),j(()=>H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`)),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(np,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var rp=O('<div class="dot svelte-14x3x60"></div>'),ip=O('<div class="wrapper svelte-14x3x60"></div>');const op={hash:"svelte-14x3x60",code:`.wrapper.svelte-14x3x60 {height:var(--size);width:var(--size);display:flex;align-items:center;justify-content:center;}.dot.svelte-14x3x60 {height:var(--dotSize);width:var(--dotSize);background-color:var(--color);margin:2px;display:inline-block;border-radius:100%;
|
|
380
|
+
animation: svelte-14x3x60-sync var(--duration) ease-in-out infinite alternate both running;}.pause-animation.svelte-14x3x60 {animation-play-state:paused;}
|
|
381
|
+
|
|
382
|
+
@-webkit-keyframes svelte-14x3x60-sync {
|
|
383
|
+
33% {
|
|
384
|
+
-webkit-transform: translateY(10px);
|
|
385
|
+
transform: translateY(10px);
|
|
386
|
+
}
|
|
387
|
+
66% {
|
|
388
|
+
-webkit-transform: translateY(-10px);
|
|
389
|
+
transform: translateY(-10px);
|
|
390
|
+
}
|
|
391
|
+
100% {
|
|
392
|
+
-webkit-transform: translateY(0);
|
|
393
|
+
transform: translateY(0);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
@keyframes svelte-14x3x60-sync {
|
|
397
|
+
33% {
|
|
398
|
+
-webkit-transform: translateY(10px);
|
|
399
|
+
transform: translateY(10px);
|
|
400
|
+
}
|
|
401
|
+
66% {
|
|
402
|
+
-webkit-transform: translateY(-10px);
|
|
403
|
+
transform: translateY(-10px);
|
|
404
|
+
}
|
|
405
|
+
100% {
|
|
406
|
+
-webkit-transform: translateY(0);
|
|
407
|
+
transform: translateY(0);
|
|
408
|
+
}
|
|
409
|
+
}`};function sp(t,e){var c;U(e,!1),J(t,op);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"0.6s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=ip();return Tt(u,5,()=>me(3,1),Ct,(d,f)=>{var h=rp();j(()=>{H(h,"style",`--dotSize:${+o()*.25}${r()??""}; --color:${n()??""}; animation-delay: ${v(f)*(+l/10)}${a??""};`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size:${o()??""}${r()??""}; --duration: ${i()??""};`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(sp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var ap=O('<div class="wrapper svelte-1lgkc8y"><div class="rainbow svelte-1lgkc8y"></div></div>');const lp={hash:"svelte-1lgkc8y",code:`.wrapper.svelte-1lgkc8y {width:var(--size);height:calc(var(--size) / 2);overflow:hidden;}.rainbow.svelte-1lgkc8y {width:var(--size);height:var(--size);border-left-color:transparent;border-bottom-color:transparent;border-top-color:var(--color);border-right-color:var(--color);box-sizing:border-box;transform:rotate(-200deg);border-radius:50%;border-style:solid;
|
|
410
|
+
animation: var(--duration) ease-in-out 0s infinite normal none running svelte-1lgkc8y-rotate;}.pause-animation.svelte-1lgkc8y {animation-play-state:paused;}
|
|
411
|
+
@keyframes svelte-1lgkc8y-rotate {
|
|
412
|
+
0% {
|
|
413
|
+
border-width: 10px;
|
|
414
|
+
}
|
|
415
|
+
25% {
|
|
416
|
+
border-width: 3px;
|
|
417
|
+
}
|
|
418
|
+
50% {
|
|
419
|
+
transform: rotate(115deg);
|
|
420
|
+
border-width: 10px;
|
|
421
|
+
}
|
|
422
|
+
75% {
|
|
423
|
+
border-width: 3px;
|
|
424
|
+
}
|
|
425
|
+
100% {
|
|
426
|
+
border-width: 10px;
|
|
427
|
+
}
|
|
428
|
+
}`};function up(t,e){U(e,!1),J(t,lp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"3s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=ap(),l=S(a);return y(a),j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(l,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(u){n(u),p()},get unit(){return r()},set unit(u){r(u),p()},get duration(){return i()},set duration(u){i(u),p()},get size(){return o()},set size(u){o(u),p()},get pause(){return s()},set pause(u){s(u),p()}})}q(up,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var cp=O('<div class="wrapper svelte-x7zza7"><div class="firework svelte-x7zza7"></div></div>');const dp={hash:"svelte-x7zza7",code:`.wrapper.svelte-x7zza7 {width:calc(var(--size) * 1.3);height:calc(var(--size) * 1.3);display:flex;justify-content:center;align-items:center;}.firework.svelte-x7zza7 {border:calc(var(--size) / 10) dotted var(--color);width:var(--size);height:var(--size);border-radius:50%;
|
|
429
|
+
animation: svelte-x7zza7-fire var(--duration) cubic-bezier(0.165, 0.84, 0.44, 1) infinite;}.pause-animation.svelte-x7zza7 {animation-play-state:paused;}
|
|
430
|
+
|
|
431
|
+
@keyframes svelte-x7zza7-fire {
|
|
432
|
+
0% {
|
|
433
|
+
opacity: 1;
|
|
434
|
+
transform: scale(0.1);
|
|
435
|
+
}
|
|
436
|
+
25% {
|
|
437
|
+
opacity: 0.85;
|
|
438
|
+
}
|
|
439
|
+
100% {
|
|
440
|
+
transform: scale(1);
|
|
441
|
+
opacity: 0;
|
|
442
|
+
}
|
|
443
|
+
}`};function fp(t,e){U(e,!1),J(t,dp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.25s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=cp(),l=S(a);return y(a),j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(l,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(u){n(u),p()},get unit(){return r()},set unit(u){r(u),p()},get duration(){return i()},set duration(u){i(u),p()},get size(){return o()},set size(u){o(u),p()},get pause(){return s()},set pause(u){s(u),p()}})}q(fp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var hp=O('<div class="cube svelte-1w8rpx6"></div>'),vp=O('<div class="wrapper svelte-1w8rpx6"></div>');const pp={hash:"svelte-1w8rpx6",code:`.wrapper.svelte-1w8rpx6 {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:calc(var(--size) / 2.5);}.cube.svelte-1w8rpx6 {position:absolute;top:0px;width:calc(var(--size) / 5);height:calc(var(--size) / 2.5);background-color:var(--color);
|
|
444
|
+
animation: svelte-1w8rpx6-motion var(--duration) cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite;}.pause-animation.svelte-1w8rpx6 {animation-play-state:paused;}
|
|
445
|
+
@keyframes svelte-1w8rpx6-motion {
|
|
446
|
+
0% {
|
|
447
|
+
opacity: 1;
|
|
448
|
+
}
|
|
449
|
+
50% {
|
|
450
|
+
opacity: 0;
|
|
451
|
+
}
|
|
452
|
+
100% {
|
|
453
|
+
opacity: 1;
|
|
454
|
+
}
|
|
455
|
+
}`};function mp(t,e){var c;U(e,!1),J(t,pp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.5s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=vp();return Tt(u,5,()=>me(3,0),Ct,(d,f)=>{var h=hp();j(()=>{H(h,"style",`animation-delay: ${v(f)*(+l/10)}${a??""}; left: ${v(f)*(+o()/3+ +o()/15)+r()};`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""}`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(mp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var gp=O('<div class="ring svelte-1rvptk"></div>'),bp=O('<div class="wrapper svelte-1rvptk"></div>');const _p={hash:"svelte-1rvptk",code:`.wrapper.svelte-1rvptk {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:var(--size);}.ring.svelte-1rvptk {position:absolute;border:2px solid var(--color);border-radius:50%;background-color:transparent;
|
|
456
|
+
animation: svelte-1rvptk-motion var(--duration) ease infinite;}.pause-animation.svelte-1rvptk {animation-play-state:paused;}
|
|
457
|
+
@keyframes svelte-1rvptk-motion {
|
|
458
|
+
0% {
|
|
459
|
+
transform: translateY(var(--motionOne));
|
|
460
|
+
}
|
|
461
|
+
50% {
|
|
462
|
+
transform: translateY(var(--motionTwo));
|
|
463
|
+
}
|
|
464
|
+
100% {
|
|
465
|
+
transform: translateY(var(--motionThree));
|
|
466
|
+
}
|
|
467
|
+
}`};function yp(t,e){var c;U(e,!1),J(t,_p);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"2.5s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=bp();return Tt(u,5,()=>me(6,0),Ct,(d,f)=>{var h=gp();j(()=>{H(h,"style",`animation-delay: ${v(f)*(+l/25)}${a??""}; width: ${v(f)*(+o()/6)+r()}; height: ${v(f)*(+o()/6)/2+r()}; `),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --motionOne: ${-o()/5}${r()??""}; --motionTwo: ${+o()/4}${r()??""}; --motionThree: ${-o()/5}${r()??""}; --duration: ${i()??""};`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(yp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var xp=O('<div class="dot svelte-1uhddr4"></div>'),wp=O('<div class="wrapper svelte-1uhddr4"><div class="spinner svelte-1uhddr4"></div></div>');const kp={hash:"svelte-1uhddr4",code:`.wrapper.svelte-1uhddr4 {height:var(--size);width:var(--size);display:flex;justify-content:center;align-items:center;}.spinner.svelte-1uhddr4 {height:var(--size);width:var(--size);
|
|
468
|
+
animation: svelte-1uhddr4-rotate var(--duration) infinite linear;}.dot.svelte-1uhddr4 {width:60%;height:60%;display:inline-block;position:absolute;top:0;background-color:var(--color);border-radius:100%;
|
|
469
|
+
animation: svelte-1uhddr4-bounce var(--duration) infinite ease-in-out;}.pause-animation.svelte-1uhddr4 {animation-play-state:paused;}
|
|
470
|
+
|
|
471
|
+
@keyframes svelte-1uhddr4-rotate {
|
|
472
|
+
100% {
|
|
473
|
+
transform: rotate(360deg);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
@keyframes svelte-1uhddr4-bounce {
|
|
477
|
+
0%,
|
|
478
|
+
100% {
|
|
479
|
+
transform: scale(0);
|
|
480
|
+
}
|
|
481
|
+
50% {
|
|
482
|
+
transform: scale(1);
|
|
483
|
+
}
|
|
484
|
+
}`};function Ep(t,e){var d;U(e,!1),J(t,kp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"2s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((d=i().match(It))==null?void 0:d[0])??"s",l=i().replace(It,"");Nt();var u=wp(),c=S(u);return Tt(c,5,()=>me(2,0),Ct,(f,h)=>{var b=xp();j(()=>{H(b,"style",`animation-delay: ${(v(h)===1?`${+l/2}${a}`:"0s")??""}; ${(v(h)===1?"bottom: 0;":"")??""} ${(v(h)===1?"top: auto;":"")??""}`),it(b,"pause-animation",s())}),I(f,b)}),y(c),y(u),j(()=>{H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(c,"pause-animation",s())}),I(t,u),G({get color(){return n()},set color(f){n(f),p()},get unit(){return r()},set unit(f){r(f),p()},get duration(){return i()},set duration(f){i(f),p()},get size(){return o()},set size(f){o(f),p()},get pause(){return s()},set pause(f){s(f),p()}})}q(Ep,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Sp=O('<div class="square svelte-x90y"></div>');const Ap={hash:"svelte-x90y",code:`.square.svelte-x90y {height:var(--size);width:var(--size);background-color:var(--color);
|
|
485
|
+
animation: svelte-x90y-squareDelay var(--duration) 0s infinite cubic-bezier(0.09, 0.57, 0.49, 0.9);animation-fill-mode:both;perspective:100px;display:inline-block;}.pause-animation.svelte-x90y {animation-play-state:paused;}
|
|
486
|
+
@keyframes svelte-x90y-squareDelay {
|
|
487
|
+
25% {
|
|
488
|
+
-webkit-transform: rotateX(180deg) rotateY(0);
|
|
489
|
+
transform: rotateX(180deg) rotateY(0);
|
|
490
|
+
}
|
|
491
|
+
50% {
|
|
492
|
+
-webkit-transform: rotateX(180deg) rotateY(180deg);
|
|
493
|
+
transform: rotateX(180deg) rotateY(180deg);
|
|
494
|
+
}
|
|
495
|
+
75% {
|
|
496
|
+
-webkit-transform: rotateX(0) rotateY(180deg);
|
|
497
|
+
transform: rotateX(0) rotateY(180deg);
|
|
498
|
+
}
|
|
499
|
+
100% {
|
|
500
|
+
-webkit-transform: rotateX(0) rotateY(0);
|
|
501
|
+
transform: rotateX(0) rotateY(0);
|
|
502
|
+
}
|
|
503
|
+
}`};function Cp(t,e){U(e,!1),J(t,Ap);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"3s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=Sp();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(Cp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Tp=O('<div class="wrapper svelte-5bpnhx"><div class="shadow svelte-5bpnhx"></div></div>');const Np={hash:"svelte-5bpnhx",code:`.wrapper.svelte-5bpnhx {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:var(--size);}.shadow.svelte-5bpnhx {color:var(--color);font-size:var(--size);overflow:hidden;width:var(--size);height:var(--size);border-radius:50%;margin:28px auto;position:relative;transform:translateZ(0);
|
|
504
|
+
animation: svelte-5bpnhx-load var(--duration) infinite ease, svelte-5bpnhx-round var(--duration) infinite ease;}.pause-animation.svelte-5bpnhx {animation-play-state:paused;}
|
|
505
|
+
@keyframes svelte-5bpnhx-load {
|
|
506
|
+
0% {
|
|
507
|
+
box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em,
|
|
508
|
+
0 -0.83em 0 -0.477em;
|
|
509
|
+
}
|
|
510
|
+
5%,
|
|
511
|
+
95% {
|
|
512
|
+
box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em,
|
|
513
|
+
0 -0.83em 0 -0.477em;
|
|
514
|
+
}
|
|
515
|
+
10%,
|
|
516
|
+
59% {
|
|
517
|
+
box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em,
|
|
518
|
+
-0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
|
|
519
|
+
}
|
|
520
|
+
20% {
|
|
521
|
+
box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em,
|
|
522
|
+
-0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
|
|
523
|
+
}
|
|
524
|
+
38% {
|
|
525
|
+
box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em,
|
|
526
|
+
-0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
|
|
527
|
+
}
|
|
528
|
+
100% {
|
|
529
|
+
box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em,
|
|
530
|
+
0 -0.83em 0 -0.477em;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
@keyframes svelte-5bpnhx-round {
|
|
534
|
+
0% {
|
|
535
|
+
transform: rotate(0deg);
|
|
536
|
+
}
|
|
537
|
+
100% {
|
|
538
|
+
transform: rotate(360deg);
|
|
539
|
+
}
|
|
540
|
+
}`};function zp(t,e){U(e,!1),J(t,Np);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.7s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=Tp(),l=S(a);return y(a),j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(l,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(u){n(u),p()},get unit(){return r()},set unit(u){r(u),p()},get duration(){return i()},set duration(u){i(u),p()},get size(){return o()},set size(u){o(u),p()},get pause(){return s()},set pause(u){s(u),p()}})}q(zp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Ip=O('<div class="wrapper svelte-e653jg"><div class="circle-one svelte-e653jg"></div> <div class="circle-two svelte-e653jg"></div></div>');const jp={hash:"svelte-e653jg",code:`.wrapper.svelte-e653jg {height:var(--size);width:var(--size);border-radius:100%;
|
|
541
|
+
animation: svelte-e653jg-moonStretchDelay var(--duration) 0s infinite linear;animation-fill-mode:forwards;position:relative;}.circle-one.svelte-e653jg {top:var(--moonSize);background-color:var(--color);width:calc(var(--size) / 7);height:calc(var(--size) / 7);border-radius:100%;
|
|
542
|
+
animation: svelte-e653jg-moonStretchDelay var(--duration) 0s infinite linear;animation-fill-mode:forwards;opacity:0.8;position:absolute;}.circle-two.svelte-e653jg {opacity:0.1;border:calc(var(--size) / 7) solid var(--color);height:var(--size);width:var(--size);border-radius:100%;box-sizing:border-box;}.pause-animation.svelte-e653jg {animation-play-state:paused;}
|
|
543
|
+
@keyframes svelte-e653jg-moonStretchDelay {
|
|
544
|
+
100% {
|
|
545
|
+
transform: rotate(360deg);
|
|
546
|
+
}
|
|
547
|
+
}`};function Op(t,e){U(e,!1),J(t,jp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"0.6s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=+o()/7,l=+o()/2-a/2;var u=Ip(),c=S(u),d=P(c,2);return y(u),j(()=>{H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --moonSize: ${l??""}${r()??""}; --duration: ${i()??""};`),it(u,"pause-animation",s()),it(c,"pause-animation",s()),it(d,"pause-animation",s())}),I(t,u),G({get color(){return n()},set color(f){n(f),p()},get unit(){return r()},set unit(f){r(f),p()},get duration(){return i()},set duration(f){i(f),p()},get size(){return o()},set size(f){o(f),p()},get pause(){return s()},set pause(f){s(f),p()}})}q(Op,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Lp=O('<div class="wrapper svelte-1cx3779"><div class="spinner-inner svelte-1cx3779"><div id="top" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div> <div id="middle" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div> <div id="bottom" class="mask svelte-1cx3779"><div class="plane svelte-1cx3779"></div></div></div></div>');const Pp={hash:"svelte-1cx3779",code:`.wrapper.svelte-1cx3779 {height:var(--size);width:var(--size);position:relative;display:flex;justify-content:center;align-items:center;}.wrapper.svelte-1cx3779 :where(.svelte-1cx3779) {line-height:0;box-sizing:border-box;}.spinner-inner.svelte-1cx3779 {height:var(--size);width:var(--size);transform:scale(calc(var(--size) / 70));}.mask.svelte-1cx3779 {position:absolute;border-radius:2px;overflow:hidden;perspective:1000;backface-visibility:hidden;}.plane.svelte-1cx3779 {background:var(--color);width:400%;height:100%;position:absolute;z-index:100;perspective:1000;backface-visibility:hidden;}#top.svelte-1cx3779 .plane:where(.svelte-1cx3779) {z-index:2000;
|
|
548
|
+
animation: svelte-1cx3779-trans1 var(--duration) ease-in infinite 0s backwards;}#middle.svelte-1cx3779 .plane:where(.svelte-1cx3779) {transform:translate3d(0px, 0, 0);background:var(--rgba);
|
|
549
|
+
animation: svelte-1cx3779-trans2 var(--duration) linear infinite calc(var(--duration) / 4) backwards;}#bottom.svelte-1cx3779 .plane:where(.svelte-1cx3779) {z-index:2000;
|
|
550
|
+
animation: svelte-1cx3779-trans3 var(--duration) ease-out infinite calc(var(--duration) / 2) backwards;}#top.svelte-1cx3779 {width:53px;height:20px;left:20px;top:5px;transform:skew(-15deg, 0);z-index:100;}#middle.svelte-1cx3779 {width:33px;height:20px;left:20px;top:21px;transform:skew(-15deg, 40deg);}#bottom.svelte-1cx3779 {width:53px;height:20px;top:35px;transform:skew(-15deg, 0);}.pause-animation.svelte-1cx3779 .plane:where(.svelte-1cx3779) {animation-play-state:paused;}
|
|
551
|
+
|
|
552
|
+
@keyframes svelte-1cx3779-trans1 {
|
|
553
|
+
from {
|
|
554
|
+
transform: translate3d(53px, 0, 0);
|
|
555
|
+
}
|
|
556
|
+
to {
|
|
557
|
+
transform: translate3d(-250px, 0, 0);
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
@keyframes svelte-1cx3779-trans2 {
|
|
561
|
+
from {
|
|
562
|
+
transform: translate3d(-160px, 0, 0);
|
|
563
|
+
}
|
|
564
|
+
to {
|
|
565
|
+
transform: translate3d(53px, 0, 0);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
@keyframes svelte-1cx3779-trans3 {
|
|
569
|
+
from {
|
|
570
|
+
transform: translate3d(53px, 0, 0);
|
|
571
|
+
}
|
|
572
|
+
to {
|
|
573
|
+
transform: translate3d(-220px, 0, 0);
|
|
574
|
+
}
|
|
575
|
+
}`};function Hp(t,e){U(e,!1),J(t,Pp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.3s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=Zt();Te(()=>Kt(n()),()=>{T(a,zo(n(),.6))}),He(),Nt();var l=Lp(),u=S(l);return y(l),j(()=>{H(l,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --rgba: ${v(a)??""}; --duration: ${i()??""};`),it(u,"pause-animation",s())}),I(t,l),G({get color(){return n()},set color(c){n(c),p()},get unit(){return r()},set unit(c){r(c),p()},get duration(){return i()},set duration(c){i(c),p()},get size(){return o()},set size(c){o(c),p()},get pause(){return s()},set pause(c){s(c),p()}})}q(Hp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Bp=O('<span class="svelte-1jnfmql"><div class="svelte-1jnfmql"></div> <div class="svelte-1jnfmql"></div> <div class="svelte-1jnfmql"></div></span>');const Mp={hash:"svelte-1jnfmql",code:`span.svelte-1jnfmql {width:var(--size);height:calc(var(--size) / 4);position:relative;display:block;}div.svelte-1jnfmql {width:calc(var(--size) / 4);height:calc(var(--size) / 4);position:absolute;left:0%;top:0;border-radius:2px;background:var(--color);transform:translateX(-50%) rotate(45deg) scale(0);
|
|
576
|
+
animation: svelte-1jnfmql-diamonds var(--duration) linear infinite;}div.svelte-1jnfmql:nth-child(1) {animation-delay:calc(var(--duration) * 2 / 3 * -1);}div.svelte-1jnfmql:nth-child(2) {animation-delay:calc(var(--duration) * 2 / 3 * -2);}div.svelte-1jnfmql:nth-child(3) {animation-delay:calc(var(--duration) * 2 / 3 * -3);}.pause-animation.svelte-1jnfmql div:where(.svelte-1jnfmql) {animation-play-state:paused;}
|
|
577
|
+
|
|
578
|
+
@keyframes svelte-1jnfmql-diamonds {
|
|
579
|
+
50% {
|
|
580
|
+
left: 50%;
|
|
581
|
+
transform: translateX(-50%) rotate(45deg) scale(1);
|
|
582
|
+
}
|
|
583
|
+
100% {
|
|
584
|
+
left: 100%;
|
|
585
|
+
transform: translateX(-50%) rotate(45deg) scale(0);
|
|
586
|
+
}
|
|
587
|
+
}`};function Dp(t,e){U(e,!1),J(t,Mp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.5s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=Bp();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color:${n()??""}; --duration: ${i()??""};`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(Dp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Rp=O('<div class="svelte-db2m9w"></div>');const $p={hash:"svelte-db2m9w",code:`div.svelte-db2m9w {position:relative;width:var(--size);height:var(--size);background-color:transparent;box-shadow:inset 0px 0px 0px 2px var(--color);border-radius:50%;}div.svelte-db2m9w::before,
|
|
588
|
+
div.svelte-db2m9w::after {position:absolute;content:'';background-color:var(--color);}div.svelte-db2m9w::after {width:calc(var(--size) / 2.4);height:2px;top:calc(var(--size) / 2);left:calc(var(--size) / 2);transform-origin:1px 1px;
|
|
589
|
+
animation: svelte-db2m9w-rotate calc(var(--duration) / 4) linear infinite;}div.svelte-db2m9w::before {width:calc(var(--size) / 3);height:2px;top:calc((var(--size) / 2));left:calc((var(--size) / 2));transform-origin:1px 1px;
|
|
590
|
+
animation: svelte-db2m9w-rotate var(--duration) linear infinite;}.pause-animation.svelte-db2m9w,
|
|
591
|
+
.pause-animation.svelte-db2m9w::before,
|
|
592
|
+
.pause-animation.svelte-db2m9w::after {animation-play-state:paused;}
|
|
593
|
+
@keyframes svelte-db2m9w-rotate {
|
|
594
|
+
100% {
|
|
595
|
+
transform: rotate(360deg);
|
|
596
|
+
}
|
|
597
|
+
}`};function Fp(t,e){U(e,!1),J(t,$p);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"8s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1);var a=Rp();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color:${n()??""}; --duration:${i()??""}`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(Fp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Up=O('<div class="bar svelte-1vzsw15"></div>'),Gp=O('<div class="wrapper svelte-1vzsw15"></div>');const qp={hash:"svelte-1vzsw15",code:`.wrapper.svelte-1vzsw15 {position:relative;display:flex;justify-content:center;align-items:center;width:calc(var(--size) * 2.5);height:var(--size);overflow:hidden;}.bar.svelte-1vzsw15 {position:absolute;top:calc(var(--size) / 10);width:calc(var(--size) / 5);height:calc(var(--size) / 10);margin-top:calc(var(--size) - var(--size) / 10);transform:skewY(0deg);background-color:var(--color);
|
|
598
|
+
animation: svelte-1vzsw15-motion var(--duration) ease-in-out infinite;}.pause-animation.svelte-1vzsw15 {animation-play-state:paused;}
|
|
599
|
+
@keyframes svelte-1vzsw15-motion {
|
|
600
|
+
25% {
|
|
601
|
+
transform: skewY(25deg);
|
|
602
|
+
}
|
|
603
|
+
50% {
|
|
604
|
+
height: 100%;
|
|
605
|
+
margin-top: 0;
|
|
606
|
+
}
|
|
607
|
+
75% {
|
|
608
|
+
transform: skewY(-25deg);
|
|
609
|
+
}
|
|
610
|
+
}`};function Vp(t,e){var c;U(e,!1),J(t,qp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1.25s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((c=i().match(It))==null?void 0:c[0])??"s",l=i().replace(It,"");Nt();var u=Gp();return Tt(u,5,()=>me(10,0),Ct,(d,f)=>{var h=Up();j(()=>{H(h,"style",`left: ${v(f)*(+o()/5+(+o()/15-+o()/100))+r()}; animation-delay: ${v(f)*(+l/8.3)}${a??""};`),it(h,"pause-animation",s())}),I(d,h)}),y(u),j(()=>H(u,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`)),I(t,u),G({get color(){return n()},set color(d){n(d),p()},get unit(){return r()},set unit(d){r(d),p()},get duration(){return i()},set duration(d){i(d),p()},get size(){return o()},set size(d){o(d),p()},get pause(){return s()},set pause(d){s(d),p()}})}q(Vp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Yp=O('<span class="circle svelte-bv9t2p"></span>'),Xp=O('<span class="wrapper svelte-bv9t2p"></span>');const Jp={hash:"svelte-bv9t2p",code:`.wrapper.svelte-bv9t2p {display:inherit;position:relative;width:var(--size);height:var(--size);}.circle.svelte-bv9t2p {position:absolute;width:var(--size);height:var(--size);border:thick solid var(--rgba);border-radius:50%;opacity:1;top:0px;left:0px;animation-fill-mode:both;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1);animation-direction:normal, normal;animation-fill-mode:none, none;animation-play-state:running, running;
|
|
611
|
+
animation-name: svelte-bv9t2p-puff-1, svelte-bv9t2p-puff-2;box-sizing:border-box;}.pause-animation.svelte-bv9t2p {animation-play-state:paused;}
|
|
612
|
+
@keyframes svelte-bv9t2p-puff-1 {
|
|
613
|
+
0% {
|
|
614
|
+
transform: scale(0);
|
|
615
|
+
}
|
|
616
|
+
100% {
|
|
617
|
+
transform: scale(1);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
@keyframes svelte-bv9t2p-puff-2 {
|
|
621
|
+
0% {
|
|
622
|
+
opacity: 1;
|
|
623
|
+
}
|
|
624
|
+
100% {
|
|
625
|
+
opacity: 0;
|
|
626
|
+
}
|
|
627
|
+
}`};function Wp(t,e){var d;U(e,!1),J(t,Jp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"1s"),o=m(e,"size",12,"60"),s=m(e,"pause",12,!1),a=((d=i().match(It))==null?void 0:d[0])??"s",l=i().replace(It,""),u=Zt();Te(()=>Kt(n()),()=>{T(u,zo(n(),1))}),He(),Nt();var c=Xp();return Tt(c,5,()=>me(2,1),Ct,(f,h)=>{var b=Yp();j(()=>{H(b,"style",`animation-delay: ${(v(h)===1?"-1s":"0s")??""}; animation-duration: ${2/+l+a};`),it(b,"pause-animation",s())}),I(f,b)}),y(c),j(()=>H(c,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --rgba: ${v(u)??""}; --duration: ${i()??""}`)),I(t,c),G({get color(){return n()},set color(f){n(f),p()},get unit(){return r()},set unit(f){r(f),p()},get duration(){return i()},set duration(f){i(f),p()},get size(){return o()},set size(f){o(f),p()},get pause(){return s()},set pause(f){s(f),p()}})}q(Wp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var Zp=O('<div class="wrapper svelte-f6hkgc"></div>');const Qp={hash:"svelte-f6hkgc",code:`.wrapper.svelte-f6hkgc {width:var(--size);height:calc(var(--size) * 1.5);margin-left:var(--size);background:var(--color);display:inline-block;position:relative;box-sizing:border-box;
|
|
628
|
+
animation: svelte-f6hkgc-bump var(--duration) ease-in infinite alternate;}.wrapper.svelte-f6hkgc::after {content:'';box-sizing:border-box;left:50%;top:100%;transform:translate(-50%, 0);position:absolute;border:var(--size) solid transparent;border-top-color:var(--color);}.pause-animation.svelte-f6hkgc {animation-play-state:paused;}
|
|
629
|
+
@keyframes svelte-f6hkgc-bump {
|
|
630
|
+
0% {
|
|
631
|
+
transform: translate(-50%, 5px);
|
|
632
|
+
}
|
|
633
|
+
100% {
|
|
634
|
+
transform: translate(-50%, -5px);
|
|
635
|
+
}
|
|
636
|
+
}`};function Kp(t,e){U(e,!1),J(t,Qp);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"0.4s"),o=m(e,"size",12,"15"),s=m(e,"pause",12,!1);var a=Zp();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(Kp,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);var tm=O('<div class="wrapper svelte-1ju64u"></div>');const em={hash:"svelte-1ju64u",code:`.wrapper.svelte-1ju64u {width:var(--size);height:calc(var(--size) * 1.5);margin-left:var(--size);margin-top:var(--size);background:var(--color);display:inline-block;position:relative;box-sizing:border-box;
|
|
637
|
+
animation: svelte-1ju64u-bump var(--duration) ease-in infinite alternate;}.wrapper.svelte-1ju64u::after {content:'';box-sizing:border-box;left:50%;bottom:100%;transform:translate(-50%, 0);position:absolute;border:var(--size) solid transparent;border-bottom-color:var(--color);}.pause-animation.svelte-1ju64u {animation-play-state:paused;}
|
|
638
|
+
@keyframes svelte-1ju64u-bump {
|
|
639
|
+
0% {
|
|
640
|
+
transform: translate(-50%, 5px);
|
|
641
|
+
}
|
|
642
|
+
100% {
|
|
643
|
+
transform: translate(-50%, -5px);
|
|
644
|
+
}
|
|
645
|
+
}`};function nm(t,e){U(e,!1),J(t,em);let n=m(e,"color",12,"#FF3E00"),r=m(e,"unit",12,"px"),i=m(e,"duration",12,"0.4s"),o=m(e,"size",12,"15"),s=m(e,"pause",12,!1);var a=tm();return j(()=>{H(a,"style",`--size: ${o()??""}${r()??""}; --color: ${n()??""}; --duration: ${i()??""};`),it(a,"pause-animation",s())}),I(t,a),G({get color(){return n()},set color(l){n(l),p()},get unit(){return r()},set unit(l){r(l),p()},get duration(){return i()},set duration(l){i(l),p()},get size(){return o()},set size(l){o(l),p()},get pause(){return s()},set pause(l){s(l),p()}})}q(nm,{color:{},unit:{},duration:{},size:{},pause:{}},[],[],!0);const rm=(t,e,n,r,i,o,s)=>{if(T(e,!0),!n().name){alert(r()("alerts.error.name-required"));return}Xe.updateDocument(n()._id,n().name,v(i),n().isPrivate,v(o)).then(a=>{a?n(a):console.error("Error updating document"),T(e,!1),s(!1)})};var im=t=>t.stopPropagation(),om=(t,e)=>e(!1),sm=(t,e)=>t.key==="Enter"&&e(),am=(t,e,n)=>e(v(n)),lm=O('<li class="svelte-vu9i28"><span class="svelte-vu9i28"> </span> <button class="svelte-vu9i28">x</button></li>'),um=O('<ul class="svelte-vu9i28"></ul>'),cm=O('<div class="spinner svelte-vu9i28"><!></div>'),dm=O('<button class="save-button svelte-vu9i28"><div class="save-icon svelte-vu9i28"><!></div> </button>'),fm=O('<div class="dialog-wrapper svelte-vu9i28"><div class="create-dialog svelte-vu9i28"><div class="header svelte-vu9i28"><h3> </h3> <button class="close-button svelte-vu9i28"><!></button></div> <input type="text" placeholder="Nome norma" class="svelte-vu9i28"> <!> <div class="custom-tags svelte-vu9i28"><div class="tag-input svelte-vu9i28"><input type="text" id="tags" class="svelte-vu9i28"> <button class="custom-tags-button svelte-vu9i28"><!></button></div> <!></div> <!></div></div>');const hm={hash:"svelte-vu9i28",code:`.dialog-wrapper.svelte-vu9i28 {position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.5);}.create-dialog.svelte-vu9i28 {width:500px;display:flex;flex-direction:column;gap:1rem;padding:1rem;background-color:white;border-radius:5px;box-shadow:0 0 5px rgba(0, 0, 0, 0.1);}.create-dialog.svelte-vu9i28 input[type="text"]:where(.svelte-vu9i28),\r
|
|
646
|
+
.create-dialog.svelte-vu9i28 button:where(.svelte-vu9i28) {padding:0.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;}.create-dialog.svelte-vu9i28 button:where(.svelte-vu9i28) {background-color:#295dcf;color:white;cursor:pointer;transition:background-color 0.3s;border:none;}.create-dialog.svelte-vu9i28 button:where(.svelte-vu9i28):hover {background-color:#0056b3;}.custom-tags.svelte-vu9i28 ul:where(.svelte-vu9i28) {display:flex;flex-wrap:wrap;gap:0.5rem;padding:0;list-style:none;}.custom-tags.svelte-vu9i28 li:where(.svelte-vu9i28) {display:flex;align-items:center;gap:0.5rem;padding:0.2rem 0.5rem;border:1px solid #ccc;border-radius:4px;background-color:#f9f9f9;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.custom-tags.svelte-vu9i28 li:where(.svelte-vu9i28) span:where(.svelte-vu9i28) {flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.custom-tags.svelte-vu9i28 li:where(.svelte-vu9i28) button:where(.svelte-vu9i28) {background:none;border:none;color:#d9534f;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;}.custom-tags.svelte-vu9i28 li:where(.svelte-vu9i28) button:where(.svelte-vu9i28):hover {color:#c9302c;}.tag-input.svelte-vu9i28 {display:flex;border:none;width:100%;}.tag-input.svelte-vu9i28 input[type="text"]:where(.svelte-vu9i28) {flex-grow:1;border-right:none;border-radius:5px 0px 0px 5px !important;}.spinner.svelte-vu9i28 {display:flex;justify-content:center;}.header.svelte-vu9i28 {display:flex;align-items:center;justify-content:space-between;}.close-button.svelte-vu9i28 {display:flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:100% !important;color:white !important;background-color:red !important;cursor:pointer;font-size:1.5rem;padding:3px !important;}.save-button.svelte-vu9i28 {width:25%;align-self:last baseline;margin-top:10px;display:flex;align-items:center;justify-content:center;border-radius:15px !important;gap:3px;}.save-icon.svelte-vu9i28 {position:relative;bottom:2px;margin-left:2px;}.custom-tags-button.svelte-vu9i28 {border-left:none;border-radius:0px 5px 5px 0px !important;border-color:#0056b3;}`};function zl(t,e){U(e,!0),J(t,hm);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"showEditDialog",15),o=m(e,"doc",15),s=m(e,"normArray",15);const a=Y=>{const ut=new Set,R=new Set;for(let X of Y.tags)if(X.name==="norms")for(let xt of X.value)R.add(xt);else for(let xt of X.value)ut.add(xt);T(u,D([...Array.from(ut)])),T(l,D([...Array.from(R)]))};let l=Q(D([])),u=Q(D([])),c=Q(""),d=Q(""),f=Q(!1);function h(){v(c).trim()&&!v(u).includes(v(c).trim())&&(T(u,D([...v(u),v(c).trim()])),T(c,""))}function b(){v(d).trim()&&!v(l).includes(v(d).trim())&&(T(l,D([...v(l),v(d).trim()])),s([...s(),v(d).trim()]),T(d,""))}function g(Y){v(l).includes(Y)||T(l,D([...v(l),Y]))}function _(Y){T(u,D(v(u).filter(ut=>ut!==Y)))}function w(Y){T(l,D(v(l).filter(ut=>ut!==Y)))}Fe(()=>{a(o())});var A=fm(),x=S(A);x.__click=[im];var k=S(x),E=S(k),C=S(E,!0);j(()=>K(C,r()("sheet-line.edit"))),y(E);var N=P(E,2);N.__click=[om,i];var z=S(N);kt(z,{icon:"material-symbols-light:close-rounded",width:"30px",height:"30px"}),y(N),y(k);var L=P(k,2);Re(L);var F=P(L,2);si(F,{get localNorms(){return s()},get selectedNorms(){return v(l)},selectNorm:g,addNorm:b,removeSelectedNorm:w,get newNorm(){return v(d)}});var M=P(F,2),B=S(M),W=S(B);Re(W),j(()=>H(W,"placeholder",r()("add-document.add-custom-tag"))),W.__keydown=[sm,h];var nt=P(W,2);nt.__click=h;var _t=S(nt);kt(_t,{icon:"mingcute:plus-fill",width:"12",height:"12"}),y(nt),y(B);var St=P(B,2);{var V=Y=>{var ut=um();Tt(ut,21,()=>v(u),Ct,(R,X)=>{var xt=lm(),Lt=S(xt),Pt=S(Lt,!0);y(Lt);var te=P(Lt,2);te.__click=[am,_,X],y(xt),j(()=>K(Pt,v(X))),I(R,xt)}),y(ut),I(Y,ut)};gt(St,Y=>{v(u).length>0&&Y(V)})}y(M);var ht=P(M,2);{var At=Y=>{var ut=cm(),R=S(ut);ai(R,{color:"#295cdf"}),y(ut),I(Y,ut)},Et=Y=>{var ut=dm();ut.__click=[rm,f,o,r,l,u,i];var R=S(ut),X=S(R);kt(X,{icon:"ic:baseline-save",width:"20",height:"20"}),y(R);var xt=P(R);j(()=>K(xt,` ${r()("save")??""}`)),y(ut),I(Y,ut)};gt(ht,Y=>{v(f)?Y(At):Y(Et,!1)})}return y(x),y(A),$e(L,()=>o().name,Y=>o(o().name=Y,!0)),$e(W,()=>v(c),Y=>T(c,Y)),I(t,A),G({get showEditDialog(){return i()},set showEditDialog(Y){i(Y),p()},get doc(){return o()},set doc(Y){o(Y),p()},get normArray(){return s()},set normArray(Y){s(Y),p()}})}ye(["click","keydown"]),q(zl,{showEditDialog:{},doc:{},normArray:{}},[],[],!0);const vm=(t,e,n,r,i,o)=>{Xe.createProcedureFromTemplate(e()).then(s=>{s?(n().push(s.document),n(r(n())),alert(i()("alerts.success.procedure-created"))):alert(i()("alerts.error.procedure-creation-error")),o(!1)})};var pm=(t,e)=>e(!1),mm=t=>t.stopPropagation(),gm=O('<button class="menu-item svelte-pxzy9a"> </button>'),bm=(t,e)=>e(),_m=O('<div class="backdrop svelte-pxzy9a"><div class="menu svelte-pxzy9a"><!> <button class="menu-item svelte-pxzy9a" style="color: red"> </button></div></div>');const ym={hash:"svelte-pxzy9a",code:".backdrop.svelte-pxzy9a {position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:flex-end;align-items:flex-start;}.menu.svelte-pxzy9a {display:flex;flex-direction:column;justify-content:center;background-color:white;border-radius:0.5rem;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);position:absolute;top:var(--menu-top, 0);right:0;pointer-events:auto;transform:translateY(var(--menu-offset, 0));transform:translateX(-15px);}.menu-item.svelte-pxzy9a {background-color:transparent;border:none;padding:0.5rem;cursor:pointer;width:100%;text-align:left;text-align:center;}.menu-item.svelte-pxzy9a:hover {background-color:#f0f0f0;}"};function Il(t,e){U(e,!0),J(t,ym);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"documents",15),o=m(e,"doc",15),s=m(e,"showMenu",15),a=m(e,"menuTop",7),l=m(e,"menuOffset",7);const u=w=>w.sort((A,x)=>A.name.localeCompare(x.name)),c=()=>{confirm(r()("alerts.confirm.procedure-deletion"))&&Xe.deleteDocument(o()._id).then(w=>{w?(i(i().filter(A=>A._id!==o()._id)),alert(r()("alerts.success.procedure-deleted"))):alert(r()("alerts.error.procedure-deletion-error")),s(!1)})};var d=_m();d.__click=[pm,s];var f=S(d);f.__click=[mm];var h=S(f);{var b=w=>{var A=gm();A.__click=[vm,o,i,u,r,s];var x=S(A,!0);j(()=>K(x,r()("sheet-menu.create-procedure-from-template"))),y(A),I(w,A)};gt(h,w=>{o().path.includes("templates")&&w(b)})}var g=P(h,2);g.__click=[bm,c];var _=S(g,!0);return j(()=>K(_,r()("sheet-menu.delete"))),y(g),y(f),y(d),j(()=>H(f,"style",`--menu-top: ${a()-window.scrollY}px; --menu-offset: ${l()??""}px;`)),I(t,d),G({get documents(){return i()},set documents(w){i(w),p()},get doc(){return o()},set doc(w){o(w),p()},get showMenu(){return s()},set showMenu(w){s(w),p()},get menuTop(){return a()},set menuTop(w){a(w),p()},get menuOffset(){return l()},set menuOffset(w){l(w),p()}})}ye(["click"]),q(Il,{documents:{},doc:{},showMenu:{},menuTop:{},menuOffset:{}},[],[],!0);var xm=O('<div class="tooltip-container svelte-wwvzy2"><!> <div class="tooltip-text svelte-wwvzy2"> </div></div>');const wm={hash:"svelte-wwvzy2",code:".tooltip-container.svelte-wwvzy2 {display:flex;justify-content:center;align-items:end;}.tooltip-text.svelte-wwvzy2 {visibility:hidden;background-color:black;color:white;text-align:center;padding:5px;border-radius:4px;position:absolute;z-index:1;white-space:nowrap;font-size:12px;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);margin:3px;transform:translateY(-28px);}.tooltip-container.svelte-wwvzy2:hover .tooltip-text:where(.svelte-wwvzy2) {visibility:visible;opacity:1;transition:opacity 0.2s;}"};function rn(t,e){U(e,!0),J(t,wm);let n=m(e,"text",7),r=m(e,"children",7);var i=xm(),o=S(i);_c(o,r);var s=P(o,2),a=S(s,!0);return y(s),y(i),j(()=>K(a,n())),I(t,i),G({get text(){return n()},set text(l){n(l),p()},get children(){return r()},set children(l){r(l),p()}})}q(rn,{text:{},children:{}},[],[],!0);const jl=(t,e,n,r,i)=>{Xe.getVersions(e()._id).then(o=>{if(o){if(T(n,D(o)),e().path.includes("template")){r(v(n)[0]._id);return}if(o.length===0)throw new Error("No versions found");T(i,!0)}else throw new Error("No versions found")})},Ol=(t,e,n,r)=>{const i=t.target;if(i){const o=i.getBoundingClientRect();T(e,o.top+window.scrollY),T(n,D(o.height)),T(r,!0)}};var km=(t,e)=>T(e,!0),Em=O('<button data-step="7" class="svelte-14s3vuv"><!></button>'),Sm=O('<button data-step="8" class="svelte-14s3vuv"><!></button>'),Am=O('<button data-step="9" class="svelte-14s3vuv"><!></button>'),Cm=O('<div class="sheet-line-actions svelte-14s3vuv"><!> <!> <!></div>'),Tm=(t,e)=>T(e,!0),Nm=O('<button class="svelte-14s3vuv"><!></button>'),zm=O('<button class="svelte-14s3vuv"><!></button>'),Im=O('<button class="svelte-14s3vuv"><!></button>'),jm=O('<div class="sheet-line-actions svelte-14s3vuv"><!> <!> <!></div>'),Om=O('<!> <!> <div class="sheet-line svelte-14s3vuv"><div class="sheet-line-left svelte-14s3vuv"><div class="sheet-line-icon svelte-14s3vuv"><!></div> <div class="sheet-line-name svelte-14s3vuv"><span> </span></div></div> <div class="sheet-line-right svelte-14s3vuv"><div class="last-update svelte-14s3vuv"><span> </span></div> <!> <!></div></div>',1);const Lm={hash:"svelte-14s3vuv",code:".sheet-line.svelte-14s3vuv {display:flex;justify-content:space-between;gap:10px;padding:5px;border-bottom:1px solid #e0e0e0;transition:200ms;}.sheet-line.svelte-14s3vuv:hover {background-color:#d6e2f2;}.sheet-line-left.svelte-14s3vuv {display:flex;justify-content:flex-start;align-items:center;gap:10px;}.sheet-line-right.svelte-14s3vuv {display:flex;justify-content:start;align-items:center;gap:10px;}.sheet-line-icon.svelte-14s3vuv {display:flex;justify-content:center;align-items:center;width:20px;height:20px;}.sheet-line-name.svelte-14s3vuv {display:flex;justify-content:flex-start;align-items:center;font-size:14px;}.last-update.svelte-14s3vuv {width:180px;display:flex;justify-content:center;align-items:center;font-size:12px;}.sheet-line-actions.svelte-14s3vuv {display:flex;align-items:center;gap:5px;}.sheet-line-actions.svelte-14s3vuv button:where(.svelte-14s3vuv) {display:flex;justify-content:center;align-items:center;border:none;background-color:#e7eef8;border-radius:100%;cursor:pointer;transition:200ms;width:30px;height:30px;}.sheet-line-actions.svelte-14s3vuv button:where(.svelte-14s3vuv):hover {background-color:#c3cedd;}"};function Io(t,e){U(e,!0),J(t,Lm);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"documents",15),o=m(e,"doc",15),s=m(e,"color",7),a=m(e,"normArray",15),l=m(e,"firstElement",7),u=Q(!1),c=Q(!1),d=Q(!1),f=Q(D([]));const h=R=>{window.open(`https://versioneditorfs-65440859697.europe-west1.run.app/it/edit/${R}`,"_blank","menubar=no,toolbar=no,location=no,status=no")},b=()=>{Xe.addNewVersion(o()._id).then(R=>{if(R==="Latest version is not confirmed"){alert(r()("alerts.error.version-not-confirmed"));return}R?v(f).push(R):(alert(r()("alerts.error.version-creation-error")),T(u,!1))})},g=R=>{if(!R)return"";const X=new Date(R);return`${X.getDate()}/${X.getMonth()+1}/${X.getFullYear()}`};let _=Q(0),w=Q(0);var A=Om(),x=Vt(A);{var k=R=>{Nl(R,{openEditor:h,addNewVersion:b,get showVersionsDialog(){return v(u)},set showVersionsDialog(X){T(u,D(X))},get versions(){return v(f)},set versions(X){T(f,D(X))}})};gt(x,R=>{v(u)&&R(k)})}var E=P(x,2);{var C=R=>{zl(R,{get showEditDialog(){return v(c)},set showEditDialog(X){T(c,D(X))},get doc(){return o()},set doc(X){o(X)},get normArray(){return a()},set normArray(X){a(X)}})};gt(E,R=>{v(c)&&R(C)})}var N=P(E,2),z=S(N),L=S(z),F=S(L);No(F,{get color(){return s()}}),y(L);var M=P(L,2),B=S(M),W=S(B,!0);y(B),y(M),y(z);var nt=P(z,2),_t=S(nt),St=S(_t),V=S(St,!0);j(()=>K(V,g(o().updatedAt))),y(St),y(_t);var ht=P(_t,2);{var At=R=>{var X=Cm(),xt=S(X),Lt=Mt(()=>r()("sheet-line.edit"));rn(xt,{get text(){return v(Lt)},children:(zt,Oe)=>{var rt=Em();j(()=>H(rt,"data-intro",r()("tutorial-step.7"))),rt.__click=[km,c];var Rt=S(rt);kt(Rt,{icon:"solar:pen-new-square-linear",width:"24",height:"24"}),y(rt),I(zt,rt)},$$slots:{default:!0}});var Pt=P(xt,2),te=Mt(()=>r()("sheet-line.open"));rn(Pt,{get text(){return v(te)},children:(zt,Oe)=>{var rt=Sm();rt.__click=[jl,o,f,h,u],j(()=>H(rt,"data-intro",r()("tutorial-step.8")));var Rt=S(rt);kt(Rt,{icon:"majesticons:open",width:"18px",height:"18px"}),y(rt),I(zt,rt)},$$slots:{default:!0}});var We=P(Pt,2),Xt=Mt(()=>r()("sheet-line.menu"));rn(We,{get text(){return v(Xt)},children:(zt,Oe)=>{var rt=Am();rt.__click=[Ol,_,w,d],j(()=>H(rt,"data-intro",r()("tutorial-step.9")));var Rt=S(rt);kt(Rt,{icon:"charm:menu-kebab",width:"16px",height:"16px"}),y(rt),I(zt,rt)},$$slots:{default:!0}}),y(X),I(R,X)},Et=R=>{var X=jm(),xt=S(X),Lt=Mt(()=>r()("sheet-line.edit"));rn(xt,{get text(){return v(Lt)},children:(zt,Oe)=>{var rt=Nm();rt.__click=[Tm,c];var Rt=S(rt);kt(Rt,{icon:"solar:pen-new-square-linear",width:"24",height:"24"}),y(rt),I(zt,rt)},$$slots:{default:!0}});var Pt=P(xt,2),te=Mt(()=>r()("sheet-line.open"));rn(Pt,{get text(){return v(te)},children:(zt,Oe)=>{var rt=zm();rt.__click=[jl,o,f,h,u];var Rt=S(rt);kt(Rt,{icon:"majesticons:open",width:"18px",height:"18px"}),y(rt),I(zt,rt)},$$slots:{default:!0}});var We=P(Pt,2),Xt=Mt(()=>r()("sheet-line.menu"));rn(We,{get text(){return v(Xt)},children:(zt,Oe)=>{var rt=Im();rt.__click=[Ol,_,w,d];var Rt=S(rt);kt(Rt,{icon:"charm:menu-kebab",width:"16px",height:"16px"}),y(rt),I(zt,rt)},$$slots:{default:!0}}),y(X),I(R,X)};gt(ht,R=>{l()?R(At):R(Et,!1)})}var Y=P(ht,2);{var ut=R=>{Il(R,{get menuTop(){return v(_)},get menuOffset(){return v(w)},get documents(){return i()},set documents(X){i(X)},get doc(){return o()},set doc(X){o(X)},get showMenu(){return v(d)},set showMenu(X){T(d,D(X))}})};gt(Y,R=>{v(d)&&R(ut)})}return y(nt),y(N),j(()=>K(W,o().name)),I(t,A),G({get documents(){return i()},set documents(R){i(R),p()},get doc(){return o()},set doc(R){o(R),p()},get color(){return s()},set color(R){s(R),p()},get normArray(){return a()},set normArray(R){a(R),p()},get firstElement(){return l()},set firstElement(R){l(R),p()}})}ye(["click"]),q(Io,{documents:{},doc:{},color:{},normArray:{},firstElement:{}},[],[],!0);var Pm=(t,e,n,r,i)=>{v(e)=="name"?T(n,!v(n)):T(e,"name"),r(i("name",v(n)))},Hm=(t,e,n,r,i)=>{v(e)=="lastUpdate"?T(n,!v(n)):T(e,"lastUpdate"),r(i("lastUpdate",v(n)))},Bm=O('<div class="sheet-line svelte-1k1zs50"><div class="sheet-line-left svelte-1k1zs50"><div class="sheet-line-icon svelte-1k1zs50"></div> <div class="sheet-line-name svelte-1k1zs50"><button class="svelte-1k1zs50"> <!></button></div></div> <div class="sheet-line-right svelte-1k1zs50"><div class="last-update svelte-1k1zs50"><button class="svelte-1k1zs50"> <!></button></div> <div class="sheet-line-actions svelte-1k1zs50"><button aria-label="placeholder" class="svelte-1k1zs50"></button> <button aria-label="placeholder" class="svelte-1k1zs50"></button> <button aria-label="placeholder" class="svelte-1k1zs50"></button></div></div></div>');const Mm={hash:"svelte-1k1zs50",code:".sheet-line.svelte-1k1zs50 {display:flex;justify-content:space-between;gap:10px;padding:5px;border-bottom:1px solid #e0e0e0;transition:200ms;}.sheet-line-left.svelte-1k1zs50 {display:flex;justify-content:flex-start;align-items:center;gap:10px;}.sheet-line-left.svelte-1k1zs50 button:where(.svelte-1k1zs50) {display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;transition:200ms;text-wrap:nowrap;font-weight:bold;font-size:12px;}.sheet-line-right.svelte-1k1zs50 {display:flex;justify-content:start;align-items:center;gap:10px;}.sheet-line-icon.svelte-1k1zs50 {display:flex;justify-content:center;align-items:center;width:20px;height:20px;}.sheet-line-name.svelte-1k1zs50 {width:150px;display:flex;justify-content:center;align-items:center;font-size:14px;}.last-update.svelte-1k1zs50 {display:flex;justify-content:flex-start;align-items:center;font-size:12px;}.last-update.svelte-1k1zs50 button:where(.svelte-1k1zs50) {width:170px;display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;cursor:pointer;transition:200ms;font-weight:bold;}.sheet-line-actions.svelte-1k1zs50 {display:flex;align-items:center;gap:5px;}.sheet-line-actions.svelte-1k1zs50 button:where(.svelte-1k1zs50) {display:flex;justify-content:center;align-items:center;border:none;background-color:transparent;border-radius:100%;transition:200ms;width:30px;height:30px;}"};function Ll(t,e){U(e,!0),J(t,Mm);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"documents",15),o=Q("lastUpdate"),s=Q(!0),a=Q(!0);const l=(C,N)=>{switch(C){case"name":return i().sort((z,L)=>N?z.name.localeCompare(L.name):L.name.localeCompare(z.name));case"lastUpdate":return i().sort((z,L)=>z.updatedAt?L.updatedAt?N?z.updatedAt>L.updatedAt?-1:1:z.updatedAt>L.updatedAt?1:-1:N?z.updatedAt>(L.createdAt??0)?-1:1:z.updatedAt>(L.createdAt??0)?1:-1:L.updatedAt?N?(z.createdAt??0)>L.updatedAt?-1:1:(z.createdAt??0)>L.updatedAt?1:-1:N?(z.createdAt??0)>(L.createdAt??0)?-1:1:(z.createdAt??0)>(L.createdAt??0)?1:-1);default:return i()}};var u=Bm(),c=S(u),d=P(S(c),2),f=S(d);f.__click=[Pm,o,s,i,l];var h=S(f);j(()=>K(h,`${r()("file-name")??""} `));var b=P(h);{var g=C=>{var N=we(),z=Vt(N);{var L=M=>{kt(M,{icon:"stash:arrow-down-solid",width:"20px",height:"20px"})},F=M=>{kt(M,{icon:"stash:arrow-up-solid",width:"25px",height:"25px"})};gt(z,M=>{v(s)?M(L):M(F,!1)})}I(C,N)};gt(b,C=>{v(o)=="name"&&C(g)})}y(f),y(d),y(c);var _=P(c,2),w=S(_),A=S(w);A.__click=[Hm,o,a,i,l];var x=S(A);j(()=>K(x,`${r()("viewer.last-update")??""} `));var k=P(x);{var E=C=>{var N=we(),z=Vt(N);{var L=M=>{kt(M,{icon:"stash:arrow-down-solid",width:"25px",height:"25px"})},F=M=>{kt(M,{icon:"stash:arrow-up-solid",width:"25px",height:"25px"})};gt(z,M=>{v(a)?M(L):M(F,!1)})}I(C,N)};gt(k,C=>{v(o)=="lastUpdate"&&C(E)})}return y(A),y(w),Ci(2),y(_),y(u),I(t,u),G({get documents(){return i()},set documents(C){i(C),p()}})}ye(["click"]),q(Ll,{documents:{}},[],[],!0);function Dm(t,e,n){{const r=new Date;r.setTime(r.getTime()+n*24*60*60*1e3);const i=`expires=${r.toUTCString()}`;document.cookie=`${t}=${e}; ${i}; path=/`}}function Pl(t){const e=document.cookie.split("; ");for(const n of e){const[r,i]=n.split("=");if(r===t)return decodeURIComponent(i)}return null}/*!
|
|
647
|
+
* Intro.js v7.2.0
|
|
648
|
+
* https://introjs.com
|
|
649
|
+
*
|
|
650
|
+
* Copyright (C) 2012-2023 Afshin Mehrabani (@afshinmeh).
|
|
651
|
+
* https://introjs.com
|
|
652
|
+
*
|
|
653
|
+
* Date: Mon, 14 Aug 2023 19:47:14 GMT
|
|
654
|
+
*/function li(t){return li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},li(t)}function pt(t,e,n,r){return new(n||(n=Promise))(function(i,o){function s(u){try{l(r.next(u))}catch(c){o(c)}}function a(u){try{l(r.throw(u))}catch(c){o(c)}}function l(u){var c;u.done?i(u.value):(c=u.value,c instanceof n?c:new n(function(d){d(c)})).then(s,a)}l((r=r.apply(t,[])).next())})}function mt(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(u){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,r=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){s=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){s.label=c[1];break}if(c[0]===6&&s.label<i[1]){s.label=i[1],i=c;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(c);break}i[2]&&s.ops.pop(),s.trys.pop();continue}c=e.call(t,s)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([l,u])}}}function Hl(t,e,n){var r,i=((r={})[t]=e,r.path="/",r.expires=void 0,r);if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),i.expires=o.toUTCString()}var s=[];for(var a in i)s.push("".concat(a,"=").concat(i[a]));return document.cookie=s.join("; "),Bl(t)}function Bl(t){return(e={},document.cookie.split(";").forEach(function(n){var r=n.split("="),i=r[0],o=r[1];e[i.trim()]=o}),e)[t];var e}typeof SuppressedError=="function"&&SuppressedError;function Rm(t,e){e?Hl(t._options.dontShowAgainCookie,"true",t._options.dontShowAgainCookieDays):Hl(t._options.dontShowAgainCookie,"",-1)}var ui,jo=(ui={},function(t,e){return e===void 0&&(e="introjs-stamp"),ui[e]=ui[e]||0,t[e]===void 0&&(t[e]=ui[e]++),t[e]}),ke=new(function(){function t(){this.events_key="introjs_event"}return t.prototype._id=function(e,n,r){return e+jo(n)+(r?"_".concat(jo(r)):"")},t.prototype.on=function(e,n,r,i,o){var s=this._id(n,r,i),a=function(l){return r(i||e,l||window.event)};"addEventListener"in e?e.addEventListener(n,a,o):"attachEvent"in e&&e.attachEvent("on".concat(n),a),e[this.events_key]=e[this.events_key]||{},e[this.events_key][s]=a},t.prototype.off=function(e,n,r,i,o){var s=this._id(n,r,i),a=e[this.events_key]&&e[this.events_key][s];a&&("removeEventListener"in e?e.removeEventListener(n,a,o):"detachEvent"in e&&e.detachEvent("on".concat(n),a),e[this.events_key][s]=null)},t}()),yt=function(t){return typeof t=="function"};function Ee(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";n.match(e)||t.setAttribute("class","".concat(n," ").concat(e))}else if(t.classList!==void 0)for(var r=0,i=e.split(" ");r<i.length;r++){var o=i[r];t.classList.add(o)}else t.className.match(e)||(t.className+=" ".concat(e))}function Oo(t,e){var n="";return"currentStyle"in t?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function Ml(t,e){if(t){var n=function(r){var i=window.getComputedStyle(r),o=i.position==="absolute",s=/(auto|scroll)/;if(i.position==="fixed")return document.body;for(var a=r;a=a.parentElement;)if(i=window.getComputedStyle(a),(!o||i.position!=="static")&&s.test(i.overflow+i.overflowY+i.overflowX))return a;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function Lo(){if(window.innerWidth!==void 0)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function Dl(t,e,n,r,i){var o;if(e!=="off"&&t&&(o=e==="tooltip"?i.getBoundingClientRect():r.getBoundingClientRect(),!function(a){var l=a.getBoundingClientRect();return l.top>=0&&l.left>=0&&l.bottom+80<=window.innerHeight&&l.right<=window.innerWidth}(r))){var s=Lo().height;o.bottom-(o.bottom-o.top)<0||r.clientHeight>s?window.scrollBy(0,o.top-(s/2-o.height/2)-n):window.scrollBy(0,o.top-(s/2-o.height/2)+n)}}function dr(t){t.setAttribute("role","button"),t.tabIndex=0}function ci(t){var e=t.parentElement;return!(!e||e.nodeName==="HTML")&&(Oo(t,"position")==="fixed"||ci(e))}function In(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var s=t.getBoundingClientRect(),a=e.getBoundingClientRect(),l=Oo(e,"position"),u={width:s.width,height:s.height};return e.tagName.toLowerCase()!=="body"&&l==="relative"||l==="sticky"?Object.assign(u,{top:s.top-a.top,left:s.left-a.left}):ci(t)?Object.assign(u,{top:s.top,left:s.left}):Object.assign(u,{top:s.top+i,left:s.left+o})}function Po(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/^\s+|\s+$/g,""))}else t.className=t.className.replace(e,"").replace(/^\s+|\s+$/g,"")}function Je(t,e){var n="";if(t.style.cssText&&(n+=t.style.cssText),typeof e=="string")n+=e;else for(var r in e)n+="".concat(r,":").concat(e[r],";");t.style.cssText=n}function Ie(t,e,n){if(n&&e){var r=In(e.element,t._targetElement),i=t._options.helperElementPadding;e.element instanceof Element&&ci(e.element)?Ee(n,"introjs-fixedTooltip"):Po(n,"introjs-fixedTooltip"),e.position==="floating"&&(i=0),Je(n,{width:"".concat(r.width+i,"px"),height:"".concat(r.height+i,"px"),top:"".concat(r.top-i/2,"px"),left:"".concat(r.left-i/2,"px")})}}function di(t,e,n,r,i){return t.left+e+n.width>r.width?(i.style.left="".concat(r.width-n.width-t.left,"px"),!1):(i.style.left="".concat(e,"px"),!0)}function fi(t,e,n,r){return t.left+t.width-e-n.width<0?(r.style.left="".concat(-t.left,"px"),!1):(r.style.right="".concat(e,"px"),!0)}function Se(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function $m(t,e,n,r){var i=t.slice(),o=Lo(),s=In(n).height+10,a=In(n).width+20,l=e.getBoundingClientRect(),u="floating";if(l.bottom+s>o.height&&Se(i,"bottom"),l.top-s<0&&Se(i,"top"),l.right+a>o.width&&Se(i,"right"),l.left-a<0&&Se(i,"left"),r&&(r=r.split("-")[0]),i.length&&(u=i[0],i.includes(r)&&(u=r)),u==="top"||u==="bottom"){var c=void 0,d=[];u==="top"?(c="top-middle-aligned",d=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(c="bottom-middle-aligned",d=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),u=function(f,h,b,g){var _=h/2,w=Math.min(b,window.screen.width);return w-f<h&&(Se(g,"top-left-aligned"),Se(g,"bottom-left-aligned")),(f<_||w-f<_)&&(Se(g,"top-middle-aligned"),Se(g,"bottom-middle-aligned")),f<h&&(Se(g,"top-right-aligned"),Se(g,"bottom-right-aligned")),g.length?g[0]:null}(l.left,a,o.width,d)||c}return u}function hi(t,e,n,r,i){if(i===void 0&&(i=!1),e){var o,s,a,l,u="";n.style.top="",n.style.right="",n.style.bottom="",n.style.left="",n.style.marginLeft="",n.style.marginTop="",r.style.display="inherit",u=typeof e.tooltipClass=="string"?e.tooltipClass:t._options.tooltipClass,n.className=["introjs-tooltip",u].filter(Boolean).join(" "),n.setAttribute("role","dialog"),(l=e.position)!=="floating"&&t._options.autoPosition&&(l=$m(t._options.positionPrecedence,e.element,n,l)),s=In(e.element),o=In(n),a=Lo(),Ee(n,"introjs-".concat(l));var c=s.width/2-o.width/2;switch(l){case"top-right-aligned":r.className="introjs-arrow bottom-right";var d=0;fi(s,d,o,n),n.style.bottom="".concat(s.height+20,"px");break;case"top-middle-aligned":r.className="introjs-arrow bottom-middle",i&&(c+=5),fi(s,c,o,n)&&(n.style.right="",di(s,c,o,a,n)),n.style.bottom="".concat(s.height+20,"px");break;case"top-left-aligned":case"top":r.className="introjs-arrow bottom",di(s,i?0:15,o,a,n),n.style.bottom="".concat(s.height+20,"px");break;case"right":n.style.left="".concat(s.width+20,"px"),s.top+o.height>a.height?(r.className="introjs-arrow left-bottom",n.style.top="-".concat(o.height-s.height-20,"px")):r.className="introjs-arrow left";break;case"left":i||t._options.showStepNumbers!==!0||(n.style.top="15px"),s.top+o.height>a.height?(n.style.top="-".concat(o.height-s.height-20,"px"),r.className="introjs-arrow right-bottom"):r.className="introjs-arrow right",n.style.right="".concat(s.width+20,"px");break;case"floating":r.style.display="none",n.style.left="50%",n.style.top="50%",n.style.marginLeft="-".concat(o.width/2,"px"),n.style.marginTop="-".concat(o.height/2,"px");break;case"bottom-right-aligned":r.className="introjs-arrow top-right",fi(s,d=0,o,n),n.style.top="".concat(s.height+20,"px");break;case"bottom-middle-aligned":r.className="introjs-arrow top-middle",i&&(c+=5),fi(s,c,o,n)&&(n.style.right="",di(s,c,o,a,n)),n.style.top="".concat(s.height+20,"px");break;default:r.className="introjs-arrow top",di(s,0,o,a,n),n.style.top="".concat(s.height+20,"px")}}}function Rl(){for(var t=0,e=Array.from(document.querySelectorAll(".introjs-showElement"));t<e.length;t++)Po(e[t],/introjs-[a-zA-Z]+/g)}function lt(t,e){var n=document.createElement(t);e=e||{};var r=/^(?:role|data-|aria-)/;for(var i in e){var o=e[i];i==="style"&&typeof o!="function"?Je(n,o):typeof o=="string"&&i.match(r)?n.setAttribute(i,o):n[i]=o}return n}function $l(t,e,n){if(n===void 0&&(n=!1),n){var r=e.style.opacity||"1";Je(e,{opacity:"0"}),window.setTimeout(function(){Je(e,{opacity:r})},10)}t.appendChild(e)}function Fl(t,e){return(t+1)/e*100}function Ul(t,e){var n=lt("div",{className:"introjs-bullets"});t._options.showBullets===!1&&(n.style.display="none");var r=lt("ul");r.setAttribute("role","tablist");for(var i=function(){var u=this.getAttribute("data-step-number");u!=null&&t.goToStep(parseInt(u,10))},o=0;o<t._introItems.length;o++){var s=t._introItems[o].step,a=lt("li"),l=lt("a");a.setAttribute("role","presentation"),l.setAttribute("role","tab"),l.onclick=i,o===e.step-1&&(l.className="active"),dr(l),l.innerHTML=" ",l.setAttribute("data-step-number",s.toString()),a.appendChild(l),r.appendChild(a)}return n.appendChild(r),n}function Gl(t,e,n){var r=t.querySelector(".introjs-progress .introjs-progressbar");if(r){var i=Fl(e,n);r.style.cssText="width:".concat(i,"%;"),r.setAttribute("aria-valuenow",i.toString())}}function ql(t,e){return pt(this,void 0,void 0,function(){var n,r,i,o,s,a,l,u,c,d,f,h,b,g,_,w,A,x,k,E,C,N,z,L,F=this;return mt(this,function(M){switch(M.label){case 0:return yt(t._introChangeCallback)?[4,t._introChangeCallback.call(t,e.element)]:[3,2];case 1:M.sent(),M.label=2;case 2:return n=document.querySelector(".introjs-helperLayer"),r=document.querySelector(".introjs-tooltipReferenceLayer"),i="introjs-helperLayer",typeof e.highlightClass=="string"&&(i+=" ".concat(e.highlightClass)),typeof t._options.highlightClass=="string"&&(i+=" ".concat(t._options.highlightClass)),n!==null&&r!==null?(l=r.querySelector(".introjs-helperNumberLayer"),u=r.querySelector(".introjs-tooltiptext"),c=r.querySelector(".introjs-tooltip-title"),d=r.querySelector(".introjs-arrow"),f=r.querySelector(".introjs-tooltip"),a=r.querySelector(".introjs-skipbutton"),s=r.querySelector(".introjs-prevbutton"),o=r.querySelector(".introjs-nextbutton"),n.className=i,f.style.opacity="0",f.style.display="none",Ml(t._options.scrollToElement,e.element),Ie(t,e,n),Ie(t,e,r),Rl(),t._lastShowElementTimer&&window.clearTimeout(t._lastShowElementTimer),t._lastShowElementTimer=window.setTimeout(function(){l!==null&&(l.innerHTML="".concat(e.step," ").concat(t._options.stepNumbersOfLabel," ").concat(t._introItems.length)),u.innerHTML=e.intro||"",c.innerHTML=e.title||"",f.style.display="block",hi(t,e,f,d),function(B,W,nt){if(B){var _t=W.querySelector(".introjs-bullets li > a.active"),St=W.querySelector('.introjs-bullets li > a[data-step-number="'.concat(nt.step,'"]'));_t&&St&&(_t.className="",St.className="active")}}(t._options.showBullets,r,e),Gl(r,t._currentStep,t._introItems.length),f.style.opacity="1",(o!=null&&/introjs-donebutton/gi.test(o.className)||o!=null)&&o.focus(),Dl(t._options.scrollToElement,e.scrollTo,t._options.scrollPadding,e.element,u)},350)):(h=lt("div",{className:i}),b=lt("div",{className:"introjs-tooltipReferenceLayer"}),g=lt("div",{className:"introjs-arrow"}),_=lt("div",{className:"introjs-tooltip"}),w=lt("div",{className:"introjs-tooltiptext"}),A=lt("div",{className:"introjs-tooltip-header"}),x=lt("h1",{className:"introjs-tooltip-title"}),k=lt("div"),Je(h,{"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(t._options.overlayOpacity.toString(),") 0 0 0 5000px")}),Ml(t._options.scrollToElement,e.element),Ie(t,e,h),Ie(t,e,b),$l(t._targetElement,h,!0),$l(t._targetElement,b),w.innerHTML=e.intro,x.innerHTML=e.title,k.className="introjs-tooltipbuttons",t._options.showButtons===!1&&(k.style.display="none"),A.appendChild(x),_.appendChild(A),_.appendChild(w),t._options.dontShowAgain&&(E=lt("div",{className:"introjs-dontShowAgain"}),(C=lt("input",{type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain"})).onchange=function(B){t.setDontShowAgain(B.target.checked)},(N=lt("label",{htmlFor:"introjs-dontShowAgain"})).innerText=t._options.dontShowAgainLabel,E.appendChild(C),E.appendChild(N),_.appendChild(E)),_.appendChild(Ul(t,e)),_.appendChild(function(B){var W=lt("div");W.className="introjs-progress",B._options.showProgress===!1&&(W.style.display="none");var nt=lt("div",{className:"introjs-progressbar"});B._options.progressBarAdditionalClass&&(nt.className+=" "+B._options.progressBarAdditionalClass);var _t=Fl(B._currentStep,B._introItems.length);return nt.setAttribute("role","progress"),nt.setAttribute("aria-valuemin","0"),nt.setAttribute("aria-valuemax","100"),nt.setAttribute("aria-valuenow",_t.toString()),nt.style.cssText="width:".concat(_t,"%;"),W.appendChild(nt),W}(t)),z=lt("div"),t._options.showStepNumbers===!0&&(z.className="introjs-helperNumberLayer",z.innerHTML="".concat(e.step," ").concat(t._options.stepNumbersOfLabel," ").concat(t._introItems.length),_.appendChild(z)),_.appendChild(g),b.appendChild(_),(o=lt("a")).onclick=function(){return pt(F,void 0,void 0,function(){return mt(this,function(B){switch(B.label){case 0:return t._introItems.length-1===t._currentStep?[3,2]:[4,on(t)];case 1:return B.sent(),[3,6];case 2:return/introjs-donebutton/gi.test(o.className)?yt(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"done")]:[3,4]:[3,6];case 3:B.sent(),B.label=4;case 4:return[4,sn(t,t._targetElement)];case 5:B.sent(),B.label=6;case 6:return[2]}})})},dr(o),o.innerHTML=t._options.nextLabel,(s=lt("a")).onclick=function(){return pt(F,void 0,void 0,function(){return mt(this,function(B){switch(B.label){case 0:return t._currentStep>0?[4,vi(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},dr(s),s.innerHTML=t._options.prevLabel,dr(a=lt("a",{className:"introjs-skipbutton"})),a.innerHTML=t._options.skipLabel,a.onclick=function(){return pt(F,void 0,void 0,function(){return mt(this,function(B){switch(B.label){case 0:return t._introItems.length-1===t._currentStep&&yt(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"skip")]:[3,2];case 1:B.sent(),B.label=2;case 2:return yt(t._introSkipCallback)?[4,t._introSkipCallback.call(t,t._currentStep)]:[3,4];case 3:B.sent(),B.label=4;case 4:return[4,sn(t,t._targetElement)];case 5:return B.sent(),[2]}})})},A.appendChild(a),t._introItems.length>1&&k.appendChild(s),k.appendChild(o),_.appendChild(k),hi(t,e,_,g),Dl(t._options.scrollToElement,e.scrollTo,t._options.scrollPadding,e.element,_)),(L=t._targetElement.querySelector(".introjs-disableInteraction"))&&L.parentNode&&L.parentNode.removeChild(L),e.disableInteraction&&function(B,W){var nt=document.querySelector(".introjs-disableInteraction");nt===null&&(nt=lt("div",{className:"introjs-disableInteraction"}),B._targetElement.appendChild(nt)),Ie(B,W,nt)}(t,e),t._currentStep===0&&t._introItems.length>1?(o!=null&&(o.className="".concat(t._options.buttonClass," introjs-nextbutton"),o.innerHTML=t._options.nextLabel),t._options.hidePrev===!0?(s!=null&&(s.className="".concat(t._options.buttonClass," introjs-prevbutton introjs-hidden")),o!=null&&Ee(o,"introjs-fullbutton")):s!=null&&(s.className="".concat(t._options.buttonClass," introjs-prevbutton introjs-disabled"))):t._introItems.length-1===t._currentStep||t._introItems.length===1?(s!=null&&(s.className="".concat(t._options.buttonClass," introjs-prevbutton")),t._options.hideNext===!0?(o!=null&&(o.className="".concat(t._options.buttonClass," introjs-nextbutton introjs-hidden")),s!=null&&Ee(s,"introjs-fullbutton")):o!=null&&(t._options.nextToDone===!0?(o.innerHTML=t._options.doneLabel,Ee(o,"".concat(t._options.buttonClass," introjs-nextbutton introjs-donebutton"))):o.className="".concat(t._options.buttonClass," introjs-nextbutton introjs-disabled"))):(s!=null&&(s.className="".concat(t._options.buttonClass," introjs-prevbutton")),o!=null&&(o.className="".concat(t._options.buttonClass," introjs-nextbutton"),o.innerHTML=t._options.nextLabel)),s!=null&&s.setAttribute("role","button"),o!=null&&o.setAttribute("role","button"),a!=null&&a.setAttribute("role","button"),o!=null&&o.focus(),function(B){Ee(B,"introjs-showElement");var W=Oo(B,"position");W!=="absolute"&&W!=="relative"&&W!=="sticky"&&W!=="fixed"&&Ee(B,"introjs-relativePosition")}(e.element),yt(t._introAfterChangeCallback)?[4,t._introAfterChangeCallback.call(t,e.element)]:[3,4];case 3:M.sent(),M.label=4;case 4:return[2]}})})}function Fm(t,e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return t._currentStep=e-2,t._introItems===void 0?[3,2]:[4,on(t)];case 1:n.sent(),n.label=2;case 2:return[2]}})})}function Um(t,e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return t._currentStepNumber=e,t._introItems===void 0?[3,2]:[4,on(t)];case 1:n.sent(),n.label=2;case 2:return[2]}})})}function on(t){return pt(this,void 0,void 0,function(){var e,n,r;return mt(this,function(i){switch(i.label){case 0:if(t._direction="forward",t._currentStepNumber!==void 0)for(e=0;e<t._introItems.length;e++)t._introItems[e].step===t._currentStepNumber&&(t._currentStep=e-1,t._currentStepNumber=void 0);return t._currentStep===-1?t._currentStep=0:++t._currentStep,n=t._introItems[t._currentStep],r=!0,yt(t._introBeforeChangeCallback)?[4,t._introBeforeChangeCallback.call(t,n&&n.element,t._currentStep,t._direction)]:[3,2];case 1:r=i.sent(),i.label=2;case 2:return r===!1?(--t._currentStep,[2,!1]):t._introItems.length<=t._currentStep?yt(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"end")]:[3,4]:[3,6];case 3:i.sent(),i.label=4;case 4:return[4,sn(t,t._targetElement)];case 5:return i.sent(),[2,!1];case 6:return[4,ql(t,n)];case 7:return i.sent(),[2,!0]}})})}function vi(t){return pt(this,void 0,void 0,function(){var e,n;return mt(this,function(r){switch(r.label){case 0:return t._direction="backward",t._currentStep<=0?[2,!1]:(--t._currentStep,e=t._introItems[t._currentStep],n=!0,yt(t._introBeforeChangeCallback)?[4,t._introBeforeChangeCallback.call(t,e&&e.element,t._currentStep,t._direction)]:[3,2]);case 1:n=r.sent(),r.label=2;case 2:return n===!1?(++t._currentStep,[2,!1]):[4,ql(t,e)];case 3:return r.sent(),[2,!0]}})})}function Vl(t,e){return pt(this,void 0,void 0,function(){var n,r;return mt(this,function(i){switch(i.label){case 0:return(n=e.code===void 0?e.which:e.code)===null&&(n=e.charCode===null?e.keyCode:e.charCode),n!=="Escape"&&n!==27||t._options.exitOnEsc!==!0?[3,2]:[4,sn(t,t._targetElement)];case 1:return i.sent(),[3,16];case 2:return n!=="ArrowLeft"&&n!==37?[3,4]:[4,vi(t)];case 3:return i.sent(),[3,16];case 4:return n!=="ArrowRight"&&n!==39?[3,6]:[4,on(t)];case 5:return i.sent(),[3,16];case 6:return n!=="Enter"&&n!=="NumpadEnter"&&n!==13?[3,16]:(r=e.target||e.srcElement)&&r.className.match("introjs-prevbutton")?[4,vi(t)]:[3,8];case 7:return i.sent(),[3,15];case 8:return r&&r.className.match("introjs-skipbutton")?t._introItems.length-1===t._currentStep&&yt(t._introCompleteCallback)?[4,t._introCompleteCallback.call(t,t._currentStep,"skip")]:[3,10]:[3,12];case 9:i.sent(),i.label=10;case 10:return[4,sn(t,t._targetElement)];case 11:return i.sent(),[3,15];case 12:return r&&r.getAttribute("data-step-number")?(r.click(),[3,15]):[3,13];case 13:return[4,on(t)];case 14:i.sent(),i.label=15;case 15:e.preventDefault?e.preventDefault():e.returnValue=!1,i.label=16;case 16:return[2]}})})}function Ho(t){if(t===null||li(t)!=="object"||"nodeType"in t)return t;var e={};for(var n in t)"jQuery"in window&&t[n]instanceof window.jQuery?e[n]=t[n]:e[n]=Ho(t[n]);return e}function jn(t){var e=document.querySelector(".introjs-hints");return e?Array.from(e.querySelectorAll(t)):[]}function Bo(t,e){return pt(this,void 0,void 0,function(){var n;return mt(this,function(r){switch(r.label){case 0:return n=jn('.introjs-hint[data-step="'.concat(e,'"]'))[0],pi(),n&&Ee(n,"introjs-hidehint"),yt(t._hintCloseCallback)?[4,t._hintCloseCallback.call(t,e)]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}})})}function Gm(t){return pt(this,void 0,void 0,function(){var e,n,r,i,o;return mt(this,function(s){switch(s.label){case 0:e=jn(".introjs-hint"),n=0,r=e,s.label=1;case 1:return n<r.length?(i=r[n],(o=i.getAttribute("data-step"))?[4,Bo(t,parseInt(o,10))]:[3,3]):[3,4];case 2:s.sent(),s.label=3;case 3:return n++,[3,1];case 4:return[2]}})})}function qm(t){return pt(this,void 0,void 0,function(){var e,n,r,i,o;return mt(this,function(s){switch(s.label){case 0:if(!(e=jn(".introjs-hint"))||!e.length)return[3,1];for(n=0,r=e;n<r.length;n++)i=r[n],(o=i.getAttribute("data-step"))&&Yl(parseInt(o,10));return[3,3];case 1:return[4,Zl(t,t._targetElement)];case 2:s.sent(),s.label=3;case 3:return[2]}})})}function Yl(t){var e=jn('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&Po(e,/introjs-hidehint/g)}function Xl(t){var e=jn('.introjs-hint[data-step="'.concat(t,'"]'))[0];e&&e.parentNode&&e.parentNode.removeChild(e)}function Vm(t){return pt(this,void 0,void 0,function(){var e,n,r,i,o,s,a;return mt(this,function(l){switch(l.label){case 0:for((e=document.querySelector(".introjs-hints"))===null&&(e=lt("div",{className:"introjs-hints"})),n=function(f){return function(h){var b=h||window.event;b&&b.stopPropagation&&b.stopPropagation(),b&&b.cancelBubble!==null&&(b.cancelBubble=!0),Wl(t,f)}},r=0;r<t._hintItems.length;r++){if(i=t._hintItems[r],document.querySelector('.introjs-hint[data-step="'.concat(r,'"]')))return[2];dr(o=lt("a",{className:"introjs-hint"})),o.onclick=n(r),i.hintAnimation||Ee(o,"introjs-hint-no-anim"),ci(i.element)&&Ee(o,"introjs-fixedhint"),s=lt("div",{className:"introjs-hint-dot"}),a=lt("div",{className:"introjs-hint-pulse"}),o.appendChild(s),o.appendChild(a),o.setAttribute("data-step",r.toString()),i.hintTargetElement=i.element,i.element=o,Jl(i.hintPosition,o,i.hintTargetElement),e.appendChild(o)}return document.body.appendChild(e),yt(t._hintsAddedCallback)?[4,t._hintsAddedCallback.call(t)]:[3,2];case 1:l.sent(),l.label=2;case 2:return t._options.hintAutoRefreshInterval>=0&&(t._hintsAutoRefreshFunction=(u=function(){return mi(t)},c=t._options.hintAutoRefreshInterval,function(){for(var f=[],h=0;h<arguments.length;h++)f[h]=arguments[h];window.clearTimeout(d),d=window.setTimeout(function(){u(f)},c)}),ke.on(window,"scroll",t._hintsAutoRefreshFunction,t,!0)),[2]}var u,c,d})})}function Jl(t,e,n){if(n!==void 0){var r=In(n),i=20,o=20;switch(t){default:case"top-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top,"px");break;case"top-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top,"px");break;case"bottom-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"bottom-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"middle-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"bottom-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"top-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top,"px")}}}function Wl(t,e){return pt(this,void 0,void 0,function(){var n,r,i,o,s,a,l,u,c,d,f;return mt(this,function(h){switch(h.label){case 0:return n=document.querySelector('.introjs-hint[data-step="'.concat(e,'"]')),r=t._hintItems[e],yt(t._hintClickCallback)?[4,t._hintClickCallback.call(t,n,r,e)]:[3,2];case 1:h.sent(),h.label=2;case 2:return(i=pi())!==void 0&&parseInt(i,10)===e||(o=lt("div",{className:"introjs-tooltip"}),s=lt("div"),a=lt("div"),l=lt("div"),o.onclick=function(b){b.stopPropagation?b.stopPropagation():b.cancelBubble=!0},s.className="introjs-tooltiptext",(u=lt("p")).innerHTML=r.hint||"",s.appendChild(u),t._options.hintShowButton&&((c=lt("a")).className=t._options.buttonClass,c.setAttribute("role","button"),c.innerHTML=t._options.hintButtonLabel,c.onclick=function(){return Bo(t,e)},s.appendChild(c)),a.className="introjs-arrow",o.appendChild(a),o.appendChild(s),d=n.getAttribute("data-step")||"",t._currentStep=parseInt(d,10),f=t._hintItems[t._currentStep],l.className="introjs-tooltipReferenceLayer introjs-hintReference",l.setAttribute("data-step",d),Ie(t,f,l),l.appendChild(o),document.body.appendChild(l),hi(t,f,o,a,!0)),[2]}})})}function pi(){var t=document.querySelector(".introjs-hintReference");if(t&&t.parentNode){var e=t.getAttribute("data-step");return e?(t.parentNode.removeChild(t),e):void 0}}function Zl(t,e){return pt(this,void 0,void 0,function(){var n,r,i,o,s,a,l,u,c,d;return mt(this,function(f){switch(f.label){case 0:if(t._hintItems=[],t._options.hints&&t._options.hints.length>0)for(n=0,r=t._options.hints;n<r.length;n++)i=r[n],typeof(o=Ho(i)).element=="string"&&(o.element=document.querySelector(o.element)),o.hintPosition=o.hintPosition||t._options.hintPosition,o.hintAnimation=o.hintAnimation||t._options.hintAnimation,o.element!==null&&t._hintItems.push(o);else{if(!(s=Array.from(e.querySelectorAll("*[data-hint]")))||!s.length)return[2,!1];for(a=0,l=s;a<l.length;a++)u=l[a],c=u.getAttribute("data-hint-animation"),d=t._options.hintAnimation,c&&(d=c==="true"),t._hintItems.push({element:u,hint:u.getAttribute("data-hint")||"",hintPosition:u.getAttribute("data-hint-position")||t._options.hintPosition,hintAnimation:d,tooltipClass:u.getAttribute("data-tooltip-class")||void 0,position:u.getAttribute("data-position")||t._options.tooltipPosition})}return[4,Vm(t)];case 1:return f.sent(),ke.on(document,"click",pi,t,!1),ke.on(window,"resize",mi,t,!0),[2,!0]}})})}function mi(t){for(var e=0,n=t._hintItems;e<n.length;e++){var r=n[e],i=r.hintTargetElement;Jl(r.hintPosition,r.element,i)}}function Ql(t,e){var n=Array.from(e.querySelectorAll("*[data-intro]")),r=[];if(t._options.steps&&t._options.steps.length)for(var i=0,o=t._options.steps;i<o.length;i++){var s=Ho(f=o[i]);if(s.step=r.length+1,s.title=s.title||"",typeof s.element=="string"&&(s.element=document.querySelector(s.element)||void 0),s.element===void 0||s.element===null){var a=document.querySelector(".introjsFloatingElement");a===null&&(a=lt("div",{className:"introjsFloatingElement"}),document.body.appendChild(a)),s.element=a,s.position="floating"}s.position=s.position||t._options.tooltipPosition,s.scrollTo=s.scrollTo||t._options.scrollTo,s.disableInteraction===void 0&&(s.disableInteraction=t._options.disableInteraction),s.element!==null&&r.push(s)}else{var l=void 0;if(n.length<1)return[];for(var u=0,c=n;u<c.length;u++){var d=c[u];if((!t._options.group||d.getAttribute("data-intro-group")===t._options.group)&&d.style.display!=="none"){var f=parseInt(d.getAttribute("data-step")||"",10);l=t._options.disableInteraction,d.hasAttribute("data-disable-interaction")&&(l=!!d.getAttribute("data-disable-interaction")),f>0&&(r[f-1]={step:f,element:d,title:d.getAttribute("data-title")||"",intro:d.getAttribute("data-intro")||"",tooltipClass:d.getAttribute("data-tooltip-class")||void 0,highlightClass:d.getAttribute("data-highlight-class")||void 0,position:d.getAttribute("data-position")||t._options.tooltipPosition,scrollTo:d.getAttribute("data-scroll-to")||t._options.scrollTo,disableInteraction:l})}}for(var h=0,b=0,g=n;b<g.length;b++)if(d=g[b],(!t._options.group||d.getAttribute("data-intro-group")===t._options.group)&&d.getAttribute("data-step")===null){for(;r[h]!==void 0;)h++;l=d.hasAttribute("data-disable-interaction")?!!d.getAttribute("data-disable-interaction"):t._options.disableInteraction,r[h]={element:d,title:d.getAttribute("data-title")||"",intro:d.getAttribute("data-intro")||"",step:h+1,tooltipClass:d.getAttribute("data-tooltip-class")||void 0,highlightClass:d.getAttribute("data-highlight-class")||void 0,position:d.getAttribute("data-position")||t._options.tooltipPosition,scrollTo:d.getAttribute("data-scroll-to")||t._options.scrollTo,disableInteraction:l}}}for(var _=[],w=0;w<r.length;w++)r[w]&&_.push(r[w]);return(r=_).sort(function(A,x){return A.step-x.step}),r}function Kl(t,e){var n=t._currentStep;if(n!=null&&n!=-1){var r=t._introItems[n],i=document.querySelector(".introjs-tooltipReferenceLayer"),o=document.querySelector(".introjs-helperLayer"),s=document.querySelector(".introjs-disableInteraction");Ie(t,r,o),Ie(t,r,i),Ie(t,r,s),e&&(t._introItems=Ql(t,t._targetElement),function(u,c){if(u._options.showBullets){var d=document.querySelector(".introjs-bullets");d&&d.parentNode&&d.parentNode.replaceChild(Ul(u,c),d)}}(t,r),Gl(i,n,t._introItems.length));var a=document.querySelector(".introjs-arrow"),l=document.querySelector(".introjs-tooltip");return l&&a&&hi(t,t._introItems[n],l,a),mi(t),t}}function tu(t){Kl(t)}function fr(t,e){if(e===void 0&&(e=!1),t&&t.parentElement){var n=t.parentElement;e?(Je(t,{opacity:"0"}),window.setTimeout(function(){try{n.removeChild(t)}catch{}},500)):n.removeChild(t)}}function sn(t,e,n){return n===void 0&&(n=!1),pt(this,void 0,void 0,function(){var r,i,o,s;return mt(this,function(a){switch(a.label){case 0:return r=!0,t._introBeforeExitCallback===void 0?[3,2]:[4,t._introBeforeExitCallback.call(t,e)];case 1:r=a.sent(),a.label=2;case 2:if(!n&&r===!1)return[2];if((i=Array.from(e.querySelectorAll(".introjs-overlay")))&&i.length)for(o=0,s=i;o<s.length;o++)fr(s[o]);return fr(e.querySelector(".introjs-helperLayer"),!0),fr(e.querySelector(".introjs-tooltipReferenceLayer")),fr(e.querySelector(".introjs-disableInteraction")),fr(document.querySelector(".introjsFloatingElement")),Rl(),ke.off(window,"keydown",Vl,t,!0),ke.off(window,"resize",tu,t,!0),yt(t._introExitCallback)?[4,t._introExitCallback.call(t)]:[3,4];case 3:a.sent(),a.label=4;case 4:return t._currentStep=-1,[2]}})})}function Ym(t,e){return pt(this,void 0,void 0,function(){var n;return mt(this,function(r){switch(r.label){case 0:return t.isActive()?yt(t._introStartCallback)?[4,t._introStartCallback.call(t,e)]:[3,2]:[2,!1];case 1:r.sent(),r.label=2;case 2:return(n=Ql(t,e)).length===0?[2,!1]:(t._introItems=n,function(i,o){var s=this,a=lt("div",{className:"introjs-overlay"});Je(a,{top:0,bottom:0,left:0,right:0,position:"fixed"}),o.appendChild(a),i._options.exitOnOverlayClick===!0&&(Je(a,{cursor:"pointer"}),a.onclick=function(){return pt(s,void 0,void 0,function(){return mt(this,function(l){switch(l.label){case 0:return[4,sn(i,o)];case 1:return l.sent(),[2]}})})})}(t,e),[4,on(t)]);case 3:r.sent(),e.addEventListener,t._options.keyboardNavigation&&ke.on(window,"keydown",Vl,t,!0),ke.on(window,"resize",tu,t,!0),r.label=4;case 4:return[2,!1]}})})}function eu(t,e,n){return t[e]=n,t}var Mo=function(){function t(e){this._currentStep=-1,this._introItems=[],this._hintItems=[],this._targetElement=e,this._options={steps:[],hints:[],isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",progressBarAdditionalClass:!1}}return t.prototype.isActive=function(){return(!this._options.dontShowAgain||(e=Bl(this._options.dontShowAgainCookie))===""||e!=="true")&&this._options.isActive;var e},t.prototype.clone=function(){return new t(this._targetElement)},t.prototype.setOption=function(e,n){return this._options=eu(this._options,e,n),this},t.prototype.setOptions=function(e){return this._options=function(n,r){for(var i=0,o=Object.entries(r);i<o.length;i++){var s=o[i];n=eu(n,s[0],s[1])}return n}(this._options,e),this},t.prototype.start=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,Ym(this,this._targetElement)];case 1:return e.sent(),[2,this]}})})},t.prototype.goToStep=function(e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return[4,Fm(this,e)];case 1:return n.sent(),[2,this]}})})},t.prototype.addStep=function(e){return this._options.steps||(this._options.steps=[]),this._options.steps.push(e),this},t.prototype.addSteps=function(e){if(!e.length)return this;for(var n=0;n<e.length;n++)this.addStep(e[n]);return this},t.prototype.goToStepNumber=function(e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return[4,Um(this,e)];case 1:return n.sent(),[2,this]}})})},t.prototype.nextStep=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,on(this)];case 1:return e.sent(),[2,this]}})})},t.prototype.previousStep=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,vi(this)];case 1:return e.sent(),[2,this]}})})},t.prototype.currentStep=function(){return this._currentStep},t.prototype.exit=function(e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return[4,sn(this,this._targetElement,e)];case 1:return n.sent(),[2,this]}})})},t.prototype.refresh=function(e){return Kl(this,e),this},t.prototype.setDontShowAgain=function(e){return Rm(this,e),this},t.prototype.onbeforechange=function(e){if(!yt(e))throw new Error("Provided callback for onbeforechange was not a function");return this._introBeforeChangeCallback=e,this},t.prototype.onchange=function(e){if(!yt(e))throw new Error("Provided callback for onchange was not a function.");return this._introChangeCallback=e,this},t.prototype.onafterchange=function(e){if(!yt(e))throw new Error("Provided callback for onafterchange was not a function");return this._introAfterChangeCallback=e,this},t.prototype.oncomplete=function(e){if(!yt(e))throw new Error("Provided callback for oncomplete was not a function.");return this._introCompleteCallback=e,this},t.prototype.onhintsadded=function(e){if(!yt(e))throw new Error("Provided callback for onhintsadded was not a function.");return this._hintsAddedCallback=e,this},t.prototype.onhintclick=function(e){if(!yt(e))throw new Error("Provided callback for onhintclick was not a function.");return this._hintClickCallback=e,this},t.prototype.onhintclose=function(e){if(!yt(e))throw new Error("Provided callback for onhintclose was not a function.");return this._hintCloseCallback=e,this},t.prototype.onstart=function(e){if(!yt(e))throw new Error("Provided callback for onstart was not a function.");return this._introStartCallback=e,this},t.prototype.onexit=function(e){if(!yt(e))throw new Error("Provided callback for onexit was not a function.");return this._introExitCallback=e,this},t.prototype.onskip=function(e){if(!yt(e))throw new Error("Provided callback for onskip was not a function.");return this._introSkipCallback=e,this},t.prototype.onbeforeexit=function(e){if(!yt(e))throw new Error("Provided callback for onbeforeexit was not a function.");return this._introBeforeExitCallback=e,this},t.prototype.addHints=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,Zl(this,this._targetElement)];case 1:return e.sent(),[2,this]}})})},t.prototype.hideHint=function(e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return[4,Bo(this,e)];case 1:return n.sent(),[2,this]}})})},t.prototype.hideHints=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,Gm(this)];case 1:return e.sent(),[2,this]}})})},t.prototype.showHint=function(e){return Yl(e),this},t.prototype.showHints=function(){return pt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,qm(this)];case 1:return e.sent(),[2,this]}})})},t.prototype.removeHints=function(){return function(e){for(var n=0,r=jn(".introjs-hint");n<r.length;n++){var i=r[n].getAttribute("data-step");i&&Xl(parseInt(i,10))}ke.off(document,"click",pi,e,!1),ke.off(window,"resize",mi,e,!0),e._hintsAutoRefreshFunction&&ke.off(window,"scroll",e._hintsAutoRefreshFunction,e,!0)}(this),this},t.prototype.removeHint=function(e){return Xl(e),this},t.prototype.showHintDialog=function(e){return pt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return[4,Wl(this,e)];case 1:return n.sent(),[2,this]}})})},t}(),Do=function t(e){var n;if(li(e)==="object")n=new Mo(e);else if(typeof e=="string"){var r=document.querySelector(e);if(!r)throw new Error("There is no element with given selector.");n=new Mo(r)}else n=new Mo(document.body);return t.instances[jo(n,"introjs-instance")]=n,n};Do.version="7.2.0",Do.instances={};const Xm=(t,e,n,r)=>{t.key==="Enter"&&(T(e,D(n()("no-norms"))),r())},Jm=(t,e,n,r)=>{t.target&&(T(e,D(t.target.value)),v(e)===n()("no-norms")?r(!1):r(!0))};var Wm=O('<option class="svelte-1g4n4zu"> </option>'),Zm=(t,e)=>e(!0),Qm=O('<section class="cards svelte-1g4n4zu"></section>'),Km=(t,e,n)=>{T(e,"template"),n()},t0=(t,e,n)=>{T(e,"instantiated"),n()},e0=O('<div class="intro-wrapper" data-step="2"><!></div>'),n0=O("<div><!></div>"),r0=O('<section class="classic"><div class="sheets svelte-1g4n4zu"><button data-step="1" class="svelte-1g4n4zu"> </button> <button data-step="3" class="svelte-1g4n4zu"> </button></div> <div class="sheet svelte-1g4n4zu"><!> <!></div></section>'),i0=O('<div class="viewer svelte-1g4n4zu"><div class="search svelte-1g4n4zu"><div class="search-left svelte-1g4n4zu"><div class="norms-select svelte-1g4n4zu" data-step="4"><select class="svelte-1g4n4zu"></select></div></div> <div class="search-center svelte-1g4n4zu"><div class="search-bar svelte-1g4n4zu" data-step="5"><input type="text" class="svelte-1g4n4zu"></div></div> <div class="search-right svelte-1g4n4zu"><button class="add-button svelte-1g4n4zu" data-step="6"><!> </button></div></div> <!></div>');const o0={hash:"svelte-1g4n4zu",code:`.add-button.svelte-1g4n4zu {padding:10px;border-radius:5px;background-color:#295dcf;color:white;border:none;cursor:pointer;\r
|
|
655
|
+
animation: shadowAnimation 0.5s;}select.svelte-1g4n4zu {width:200px; /* Specifica una larghezza fissa */white-space:nowrap; /* Impedisce che il testo vada a capo */overflow:hidden; /* Nasconde il testo che eccede la larghezza */text-overflow:ellipsis; /* Mostra i puntini di sospensione per il testo tagliato */}.norms-select.svelte-1g4n4zu {background-color:white;border:1px solid #ddd;border-radius:5px;padding:5px;box-shadow:0 0 5px rgba(0, 0, 0, 0.1);cursor:pointer;transition:box-shadow 200ms;}.norms-select.svelte-1g4n4zu:hover {box-shadow:0 3px 8px rgba(0, 0, 0, 0.2);}.norms-select.svelte-1g4n4zu select:where(.svelte-1g4n4zu) {border:none;background:none;font-size:1rem;padding:5px;cursor:pointer;outline:none;color:#333;}.norms-select.svelte-1g4n4zu select:where(.svelte-1g4n4zu) option:where(.svelte-1g4n4zu) {padding:5px;font-size:0.9rem;}.norms-select.svelte-1g4n4zu select:where(.svelte-1g4n4zu) option:where(.svelte-1g4n4zu):hover {background-color:#f2f2f2;color:#000;}\r
|
|
656
|
+
\r
|
|
657
|
+
/*.view-switch {\r
|
|
658
|
+
display: flex;\r
|
|
659
|
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);\r
|
|
660
|
+
}\r
|
|
661
|
+
\r
|
|
662
|
+
.view-switch button:first-child {\r
|
|
663
|
+
background-color: white;\r
|
|
664
|
+
border: none;\r
|
|
665
|
+
border-radius: 5px 0 0 5px;\r
|
|
666
|
+
padding: 10px;\r
|
|
667
|
+
cursor: pointer;\r
|
|
668
|
+
transition: 200ms;\r
|
|
669
|
+
}\r
|
|
670
|
+
\r
|
|
671
|
+
.view-switch button:last-child {\r
|
|
672
|
+
background-color: white;\r
|
|
673
|
+
border: none;\r
|
|
674
|
+
border-radius: 0 5px 5px 0;\r
|
|
675
|
+
padding: 10px;\r
|
|
676
|
+
cursor: pointer;\r
|
|
677
|
+
transition: 200ms;\r
|
|
678
|
+
}\r
|
|
679
|
+
\r
|
|
680
|
+
.view-switch button:hover {\r
|
|
681
|
+
background-color: #f2f2f2;\r
|
|
682
|
+
}*/.viewer.svelte-1g4n4zu {display:flex;flex-direction:column;gap:1rem;}.search.svelte-1g4n4zu {display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:10px;}.search-left.svelte-1g4n4zu {flex:1;display:flex;justify-content:flex-start;}.search-center.svelte-1g4n4zu {flex:2;display:flex;justify-content:center;}.search-right.svelte-1g4n4zu {flex:1;display:flex;justify-content:flex-end;}.search-bar.svelte-1g4n4zu {display:flex;gap:1rem;width:100%;}.search.svelte-1g4n4zu input:where(.svelte-1g4n4zu) {width:100%;padding:10px;border-radius:5px;border:none;box-shadow:0 0 5px rgba(0, 0, 0, 0.1);}.cards.svelte-1g4n4zu {display:flex;justify-content:center;flex-wrap:wrap;gap:1rem;}.sheets.svelte-1g4n4zu {display:flex;}.sheets.svelte-1g4n4zu button:where(.svelte-1g4n4zu) {width:150px;padding:10px;border-radius:5px 5px 0 0;background-color:white;border:none;color:black;cursor:pointer;}.sheet.svelte-1g4n4zu {display:flex;flex-direction:column;gap:5px;background-color:white;padding:10px;border-radius:0 5px 5px 5px;}.custom-tooltip {background-color:#ecf0f1 !important; /* Colore di sfondo chiaro */color:#2c3e50 !important; /* Testo scuro per contrasto */font-family:"Arial", sans-serif !important;font-size:18px !important;padding:0px !important;border-radius:8px !important; /* Angoli arrotondati */box-shadow:0 4px 6px rgba(0, 0, 0, 0.1) !important;border:1px solid #bdc3c7 !important; /* Bordo per definirlo meglio */text-align:center;height:min-content;width:min-content;}.custom-button {display:flex;justify-content:center;background-color:#295dcf !important; /* Blu vibrante */color:#fff !important; /* Testo bianco */font-family:"Arial", sans-serif !important;font-size:16px !important;padding:8px 15px !important;margin:-15px 5px 0px 5px !important;border:none !important;border-radius:6px !important;cursor:pointer !important;transition:background-color 0.3s ease,\r
|
|
683
|
+
transform 0.2s ease !important;width:75px;}.custom-button:hover {background-color:#1f4c8a !important; /* Blu più scuro al passaggio del mouse */transform:translateY(\r
|
|
684
|
+
-2px\r
|
|
685
|
+
) !important; /* Effetto leggero di "sollevamento" */}.custom-button:active {background-color:#1c5980 !important; /* Ancora più scuro quando cliccato */transform:translateY(\r
|
|
686
|
+
0\r
|
|
687
|
+
) !important; /* Rimuove l'effetto di sollevamento */box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.2) !important; /* Effetto di pressione */}`};function nu(t,e){U(e,!0),J(t,o0);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"documents",15),o=m(e,"tagArray",15),s=m(e,"normArray",15),a=m(e,"showCreateDialog",15),l=m(e,"actSheet",15),u=Q("template"),c=Q(""),d=Q(!1),f=Q(D(r()("no-norms")));const h=(V,ht,At,Et=!1)=>{const Y=ht.toLowerCase(),ut=At.toLowerCase();return V.filter(R=>{let X=!1,xt=!1;Et||(X=R.name.toLowerCase().includes(Y));const Lt=R.tags.flatMap(Pt=>Pt.value);return ut===r()("no-norms").toLocaleLowerCase()?xt=Lt.length===0:ut&&(xt=Lt.some(Pt=>Pt.toLowerCase()===ut)),Y?X||xt||R.tags.some(Pt=>Pt.value.some(te=>te.toLowerCase().includes(Y))):X||xt})},b=()=>{T(_,D([...i()].filter(V=>V.path&&V.path.includes(v(u))))),v(f)!==""&&v(f)!==r()("no-norms")&&g(!0)},g=(V=!1)=>{T(_,D(h([...i()].filter(ht=>ht.path&&ht.path.includes(v(u))),v(c),v(f),V)))};let _=Mt(()=>h([...i()].filter(V=>V.path&&V.path.includes(v(u))),v(c),v(f)));pn(()=>{i(),b()}),pn(()=>{l(v(u)==="template"?"template":"procedure")}),T(u,"template"),b(),Fe(()=>{(!Pl("visited")||Pl("visited")==="false")&&setTimeout(()=>{Do().setOptions({tooltipClass:"custom-tooltip",buttonClass:"custom-button"}).start(),Dm("visited","true",365)},100)});let w=r()("tutorial-step.2");var A=i0(),x=S(A),k=S(x),E=S(k);j(()=>H(E,"data-intro",r()("tutorial-step.4")));var C=S(E);C.__change=[Jm,f,r,g],Tt(C,21,s,Ct,(V,ht)=>{var At=Wm(),Et={},Y=S(At,!0);y(At),j(()=>{Et!==(Et=v(ht))&&(At.value=(At.__value=v(ht))==null?"":v(ht)),K(Y,v(ht))}),I(V,At)}),y(C),y(E),y(k);var N=P(k,2),z=S(N);j(()=>H(z,"data-intro",r()("tutorial-step.5")));var L=S(z);Re(L),j(()=>H(L,"placeholder",`${r()("search")??""}...`)),L.__keyup=[Xm,f,r,g],y(z),y(N);var F=P(N,2),M=S(F);M.__click=[Zm,a],j(()=>H(M,"data-intro",r()("tutorial-step.6")));var B=S(M);kt(B,{icon:"mingcute:plus-fill",width:"18",height:"18"});var W=P(B);j(()=>K(W,` ${r()("add")??""}`)),y(M),y(F),y(x);var nt=P(x,2);{var _t=V=>{var ht=Qm();Tt(ht,21,()=>v(_),Ct,(At,Et)=>{var Y=Mt(()=>v(Et).path&&v(Et).path.includes("template")?"#28853d":"white");Tl(At,{get title(){return v(Et).name},get tags(){return v(Et).tags},get color(){return v(Y)}})}),y(ht),I(V,ht)},St=V=>{var ht=r0(),At=S(ht),Et=S(At);j(()=>H(Et,"data-intro",r()("tutorial-step.1"))),Et.__click=[Km,u,b];var Y=S(Et,!0);j(()=>K(Y,r()("viewer.templates"))),y(Et);var ut=P(Et,2);j(()=>H(ut,"data-intro",r()("tutorial-step.3"))),ut.__click=[t0,u,b];var R=S(ut,!0);j(()=>K(R,r()("viewer.procedures"))),y(ut),y(At);var X=P(At,2),xt=S(X);Ll(xt,{get documents(){return i()},set documents(te){i(te)}});var Lt=P(xt,2);Tt(Lt,17,()=>v(_),Ct,(te,We,Xt)=>{var zt=we(),Oe=Vt(zt);{var rt=Ze=>{var ee=e0();H(ee,"data-intro",w);var hr=S(ee),vr=Mt(()=>v(u)=="template"?"#295dcf":"#28853d");Io(hr,{get color(){return v(vr)},firstElement:!0,get documents(){return i()},set documents(ne){i(ne)},get doc(){return v(_)[Xt]},set doc(ne){v(_)[Xt]=ne},get normArray(){return s()},set normArray(ne){s(ne)}}),y(ee),xn(1,ee,()=>Xr,()=>({duration:100,delay:500*Xt})),I(Ze,ee)},Rt=Ze=>{var ee=n0(),hr=S(ee),vr=Mt(()=>v(u)=="template"?"#295dcf":"#28853d");Io(hr,{get color(){return v(vr)},firstElement:!1,get documents(){return i()},set documents(ne){i(ne)},get doc(){return v(_)[Xt]},set doc(ne){v(_)[Xt]=ne},get normArray(){return s()},set normArray(ne){s(ne)}}),y(ee),xn(3,ee,()=>Xr,()=>({duration:100,delay:500*Xt})),I(Ze,ee)};gt(Oe,Ze=>{Xt==0?Ze(rt):Ze(Rt,!1)})}I(te,zt)}),y(X),y(ht),j(()=>{H(Et,"style",v(u)=="template"?"background-color: white; font-weight: bold;":"background-color: #e7eef8"),H(ut,"style",v(u)=="instantiated"?"background-color: white; font-weight: bold;":"background-color: #e7eef8")}),I(V,ht)};gt(nt,V=>{v(d)?V(_t):V(St,!1)})}return y(A),Zs(C,()=>v(f),V=>T(f,V)),$e(L,()=>v(c),V=>T(c,V)),I(t,A),G({get documents(){return i()},set documents(V){i(V),p()},get tagArray(){return o()},set tagArray(V){o(V),p()},get normArray(){return s()},set normArray(V){s(V),p()},get showCreateDialog(){return a()},set showCreateDialog(V){a(V),p()},get actSheet(){return l()},set actSheet(V){l(V),p()}})}ye(["change","keyup","click"]),q(nu,{documents:{},tagArray:{},normArray:{},showCreateDialog:{},actSheet:{}},[],[],!0);function ru(t,e){const n=Wn(e,["children","$$slots","$$events","$$legacy","$$host"]),r=Wn(n,["id","toggled","disabled"]);U(e,!1);const i=Zt(),o=Zt();let s=m(e,"id",28,()=>"toggle"+Math.random().toString(36)),a=m(e,"toggled",12,!0),l=m(e,"disabled",12,!1);Te(()=>Kt(s()),()=>{T(i,{for:s()})}),Te(()=>(Kt(r),Kt(s()),Kt(l()),Kt(a())),()=>{T(o,{...r,id:s(),disabled:l(),"aria-checked":a(),type:"button",role:"switch"})}),He(),Nt();var u=we(),c=Vt(u);return Us(c,e,"default",{get label(){return v(i)},get button(){return v(o)}},null),I(t,u),G({get id(){return s()},set id(d){s(d),p()},get toggled(){return a()},set toggled(d){a(d),p()},get disabled(){return l()},set disabled(d){l(d),p()}})}q(ru,{id:{},toggled:{},disabled:{}},["default"],[],!0);var s0=O('<span class="svelte-1y1be9d"> </span>'),a0=O('<label> </label> <div class="svelte-1y1be9d"><button></button> <!></div>',1);const l0={hash:"svelte-1y1be9d",code:`label.svelte-1y1be9d {display:block;margin-bottom:0.25rem;font-size:0.75rem;}
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Visually hide element without breaking screen readers
|
|
691
|
+
* https://a11yproject.com/posts/how-to-hide-content/
|
|
692
|
+
*/.hideLabel.svelte-1y1be9d {position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap;}button.svelte-1y1be9d {position:relative;padding:0 0.25rem;border:0;border-radius:1rem;height:1.25rem;width:2.5rem;font:inherit;color:inherit;line-height:inherit;}button.svelte-1y1be9d:not([disabled]) {cursor:pointer;}button[disabled].svelte-1y1be9d {cursor:not-allowed;opacity:0.6;}button.svelte-1y1be9d:before {position:absolute;content:"";top:0;bottom:0;left:0.125rem;margin:auto;height:1rem;width:1rem;text-align:center;border-radius:50%;background-color:currentColor;transition:transform 150ms ease-out;}button[aria-checked="true"].svelte-1y1be9d:before {transform:translateX(1.25rem);}button.small.svelte-1y1be9d {height:1rem;width:1.75rem;}button.small.svelte-1y1be9d:before {height:0.75rem;width:0.75rem;}button.small[aria-checked="true"].svelte-1y1be9d:before {transform:translateX(0.75rem);}div.svelte-1y1be9d {display:flex;align-items:center;}span.svelte-1y1be9d {margin-left:0.5rem;}`};function iu(t,e){const n=Wn(e,["children","$$slots","$$events","$$legacy","$$host"]),r=Wn(n,["toggled","label","hideLabel","small","disabled","on","off","switchColor","toggledColor","untoggledColor"]);U(e,!1),J(t,l0);let i=m(e,"toggled",12,!0),o=m(e,"label",12,"Label"),s=m(e,"hideLabel",12,!1),a=m(e,"small",12,!1),l=m(e,"disabled",12,!1),u=m(e,"on",12,void 0),c=m(e,"off",12,void 0),d=m(e,"switchColor",12,"#fff"),f=m(e,"toggledColor",12,"#0f62fe"),h=m(e,"untoggledColor",12,"#8d8d8d");const b=Yi();return Te(()=>Kt(i()),()=>{b("toggle",i())}),He(),Nt(),ru(t,{get toggled(){return i()},set toggled(g){i(g)},children:Vu,$$slots:{default:(g,_)=>{const w=zi(()=>_.label),A=zi(()=>_.button);var x=a0(),k=Vt(x);let E;var C=S(k,!0);y(k);var N=P(k,2),z=S(N);let L;var F=P(z,2);Us(F,e,"default",{get toggled(){return i()}},M=>{var B=we(),W=Vt(B);{var nt=_t=>{var St=s0(),V=S(St,!0);y(St),j(()=>K(V,i()?u():c())),I(_t,St)};gt(W,_t=>{u()&&c()&&_t(nt)})}I(M,B)}),y(N),j(()=>{E=Or(k,E,{...v(w)},"svelte-1y1be9d"),it(k,"hideLabel",s()),K(C,o()),L=Or(z,L,{...r,...v(A),disabled:l()},"svelte-1y1be9d"),it(z,"small",a()),Ys(z,"color",d()),Ys(z,"background-color",i()?f():h())}),jr("click",z,function(M){Jn.call(this,e,M)}),jr("click",z,()=>i(!i())),jr("focus",z,function(M){Jn.call(this,e,M)}),jr("blur",z,function(M){Jn.call(this,e,M)}),I(g,x)}},$$legacy:!0}),G({get toggled(){return i()},set toggled(g){i(g),p()},get label(){return o()},set label(g){o(g),p()},get hideLabel(){return s()},set hideLabel(g){s(g),p()},get small(){return a()},set small(g){a(g),p()},get disabled(){return l()},set disabled(g){l(g),p()},get on(){return u()},set on(g){u(g),p()},get off(){return c()},set off(g){c(g),p()},get switchColor(){return d()},set switchColor(g){d(g),p()},get toggledColor(){return f()},set toggledColor(g){f(g),p()},get untoggledColor(){return h()},set untoggledColor(g){h(g),p()}})}q(iu,{toggled:{},label:{},hideLabel:{},small:{},disabled:{},on:{},off:{},switchColor:{},toggledColor:{},untoggledColor:{}},["default"],[],!0);var u0=t=>t.stopPropagation(),c0=(t,e)=>e(!1),d0=(t,e)=>t.key==="Enter"&&e(),f0=(t,e,n)=>e(v(n)),h0=O('<li class="svelte-12touhj"><span class="svelte-12touhj"> </span> <button class="svelte-12touhj">x</button></li>'),v0=O('<ul class="svelte-12touhj"></ul>'),p0=O('<input type="text" class="svelte-12touhj"> <!> <div class="custom-tags svelte-12touhj"><div class="tag-input svelte-12touhj"><input type="text" id="tags" class="svelte-12touhj"> <button class="tags-button svelte-12touhj"><!></button></div> <!></div>',1),m0=O('<input type="text" class="svelte-12touhj"> <!> <input type="text" class="svelte-12touhj">',1),g0=O('<div class="loading svelte-12touhj"><!></div>'),b0=(t,e,n,r)=>v(e)==="no-ai"?n():r(),_0=O('<button class="create-button svelte-12touhj"><!> </button>'),y0=O('<div class="dialog-wrapper svelte-12touhj"><div class="create-dialog svelte-12touhj"><div class="header svelte-12touhj"><h3> </h3> <button class="close-button svelte-12touhj"><!></button></div> <div class="ai-generation svelte-12touhj"><select class="svelte-12touhj"><option> </option><option> </option><option> </option></select></div> <div class="checkboxes svelte-12touhj"><div class="toggle-switch svelte-12touhj"><span class="svelte-12touhj"> </span> <!> <span class="svelte-12touhj">Template</span></div></div> <!> <!></div></div>');const x0={hash:"svelte-12touhj",code:`.header.svelte-12touhj {display:flex;align-items:center;justify-content:space-between;}.close-button.svelte-12touhj {display:flex;justify-content:center;align-items:center;width:25px;height:25px;border-radius:100% !important;color:white !important;background-color:red !important;cursor:pointer;font-size:1.5rem;padding:3px !important;border:none !important;}.toggle-switch.svelte-12touhj {display:flex;align-items:center;gap:10px;}.toggle-switch.svelte-12touhj span:where(.svelte-12touhj) {font-size:18px;text-align:center;}.dialog-wrapper.svelte-12touhj {position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.5);}.create-dialog.svelte-12touhj {width:500px;display:flex;flex-direction:column;gap:1rem;padding:1rem;background-color:white;border-radius:5px;box-shadow:0 0 5px rgba(0, 0, 0, 0.1);}.ai-generation.svelte-12touhj {display:flex;flex-direction:column;gap:0.5rem;}.create-dialog.svelte-12touhj select:where(.svelte-12touhj),\r
|
|
693
|
+
.create-dialog.svelte-12touhj input[type="text"]:where(.svelte-12touhj),\r
|
|
694
|
+
.create-dialog.svelte-12touhj button:where(.svelte-12touhj) {padding:0.5rem;font-size:1rem;border:1px solid #ccc;border-radius:4px;}.create-dialog.svelte-12touhj button:where(.svelte-12touhj) {background-color:#295dcf;color:white;cursor:pointer;transition:background-color 0.3s;}.create-dialog.svelte-12touhj button:where(.svelte-12touhj):hover {background-color:#0056b3;}.custom-tags.svelte-12touhj ul:where(.svelte-12touhj) {display:flex;flex-wrap:wrap;gap:0.5rem;padding:0;list-style:none;}.custom-tags.svelte-12touhj li:where(.svelte-12touhj) {display:flex;align-items:center;gap:0.5rem;padding:0.2rem 0.5rem;border:1px solid #ccc;border-radius:4px;background-color:#f9f9f9;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.custom-tags.svelte-12touhj li:where(.svelte-12touhj) span:where(.svelte-12touhj) {flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.custom-tags.svelte-12touhj li:where(.svelte-12touhj) button:where(.svelte-12touhj) {background:none;border:none;color:#d9534f;cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;}.custom-tags.svelte-12touhj li:where(.svelte-12touhj) button:where(.svelte-12touhj):hover {color:#c9302c;}.checkboxes.svelte-12touhj {display:flex;justify-content:center;gap:30px;}.tag-input.svelte-12touhj {display:flex;border:none;width:100%;}.tag-input.svelte-12touhj input[type="text"]:where(.svelte-12touhj) {flex-grow:1;border-right:none;border-radius:5px 0px 0px 5px !important;}.tags-button.svelte-12touhj {border-left:none;border-radius:0px 5px 5px 0px !important;border-color:#0056b3;}.loading.svelte-12touhj {display:flex;justify-content:center;}.create-button.svelte-12touhj {gap:5px;align-self:last baseline;margin-top:10px;display:flex;align-items:center;justify-content:center;border-radius:15px !important;}`};function ou(t,e){U(e,!0),J(t,x0);const n=ve(),r=()=>he(pe,"$_",n);let i=m(e,"showCreateDialog",15),o=m(e,"documents",15),s=m(e,"actSheet",15),a=m(e,"norms",7),l=m(e,"refreshDocuments",7),u=Q("no-ai"),c=Q(""),d=Q(D([])),f=Q(D([])),h=Q(D([...a()])),b=Q(""),g=Q(""),_=Q(!0),w=Q(!1),A=Q(""),x=Q(""),k=Q(!1);function E(){if(T(k,!0),!v(c)||v(f).length===0){alert(r()("alerts.error.fill-all-data"));return}Xe.createEmptyProcedure({title:v(c),norms:v(f),tags:v(d),isTemplate:v(_),secret:v(w)}).then(Z=>{Z?(o().push(Z.document),l()(),i(!1)):alert(r()("alerts.error.procedure-creation-error")),T(k,!1)})}function C(){if(T(k,!0),v(f).length==0||!v(A)||!v(x)){alert("Compila tutti i campi");return}Xe.createProcedureWithAI({normName:v(f)[0],templateName:v(A),societyType:v(x),lang:Of()??"it",full:v(u)==="full"}).then(Z=>{Z?(v(_)?alert("Template creato con successo"):alert("Procedura creata con successo"),o().push(Z.document),l()(),i(!1)):alert("Errore nella creazione della procedura")}).finally(()=>{T(k,!1)})}function N(){v(b).trim()&&!v(d).includes(v(b).trim())&&(T(d,D([...v(d),v(b).trim()])),T(b,""))}function z(){v(g).trim()&&!v(h).includes(v(g).trim())&&(T(f,D([...v(f),v(g).trim()])),T(g,""))}function L(Z){Z!=r()("no-norms")&&!v(f).includes(Z)&&T(f,D([...v(f),Z]))}function F(Z){T(d,D(v(d).filter(jt=>jt!==Z)))}function M(Z){T(f,D(v(f).filter(jt=>jt!==Z)))}Fe(()=>{T(_,s()==="template")}),pn(()=>{v(u)!="no-ai"&&T(_,!0)});var B=y0(),W=S(B);W.__click=[u0];var nt=S(W),_t=S(nt),St=S(_t,!0);j(()=>K(St,r()("add-document.add-new"))),y(_t);var V=P(_t,2);V.__click=[c0,i];var ht=S(V);kt(ht,{icon:"material-symbols-light:close-rounded",width:"30px",height:"30px"}),y(V),y(nt);var At=P(nt,2),Et=S(At),Y=S(Et);Y.value=(Y.__value="no-ai")==null?"":"no-ai";var ut=S(Y,!0);j(()=>K(ut,r()("add-document.no-ai"))),y(Y);var R=P(Y),X={},xt=S(R,!0);j(()=>K(xt,r()("add-document.template-struct"))),y(R);var Lt=P(R),Pt={},te=S(Lt,!0);j(()=>K(te,r()("add-document.complete-template"))),y(Lt),y(Et),y(At);var We=P(At,2),Xt=S(We),zt=S(Xt),Oe=S(zt,!0);j(()=>K(Oe,r()("document"))),y(zt);var rt=P(zt,2),Rt=Mt(()=>v(u)!=="no-ai");iu(rt,{label:"",get disabled(){return v(Rt)},get toggled(){return v(_)},set toggled(Z){T(_,D(Z))}});var Ze=P(rt,2);y(Xt),y(We);var ee=P(We,2);{var hr=Z=>{var jt=p0(),Jt=Vt(jt);Re(Jt),j(()=>H(Jt,"placeholder",r()("add-document.title")));var an=P(Jt,2);si(an,{selectNorm:L,addNorm:z,removeSelectedNorm:M,get localNorms(){return v(h)},set localNorms(ie){T(h,D(ie))},get selectedNorms(){return v(f)},set selectedNorms(ie){T(f,D(ie))},get newNorm(){return v(g)},set newNorm(ie){T(g,D(ie))}});var On=P(an,2),re=S(On),pr=S(re);Re(pr),j(()=>H(pr,"placeholder",r()("add-document.add-custom-tag"))),pr.__keydown=[d0,N];var Ro=P(pr,2);Ro.__click=N;var I0=S(Ro);kt(I0,{icon:"mingcute:plus-fill",width:"12",height:"12"}),y(Ro),y(re);var j0=P(re,2);{var O0=ie=>{var $o=v0();Tt($o,21,()=>v(d),Ct,(L0,lu)=>{var Fo=h0(),Uo=S(Fo),P0=S(Uo,!0);y(Uo);var H0=P(Uo,2);H0.__click=[f0,F,lu],y(Fo),j(()=>K(P0,v(lu))),I(L0,Fo)}),y($o),I(ie,$o)};gt(j0,ie=>{v(d).length>0&&ie(O0)})}y(On),$e(Jt,()=>v(c),ie=>T(c,ie)),$e(pr,()=>v(b),ie=>T(b,ie)),I(Z,jt)},vr=Z=>{var jt=m0(),Jt=Vt(jt);Re(Jt),j(()=>H(Jt,"placeholder",r()("add-document.title")));var an=P(Jt,2);si(an,{selectNorm:L,addNorm:z,removeSelectedNorm:M,get localNorms(){return v(h)},set localNorms(re){T(h,D(re))},get selectedNorms(){return v(f)},set selectedNorms(re){T(f,D(re))},get newNorm(){return v(g)},set newNorm(re){T(g,D(re))}});var On=P(an,2);Re(On),j(()=>H(On,"placeholder",r()("add-document.society-type"))),$e(Jt,()=>v(A),re=>T(A,re)),$e(On,()=>v(x),re=>T(x,re)),I(Z,jt)};gt(ee,Z=>{v(u)==="no-ai"?Z(hr):Z(vr,!1)})}var ne=P(ee,2);{var N0=Z=>{var jt=g0(),Jt=S(jt);ai(Jt,{color:"#295dcf"}),y(jt),I(Z,jt)},z0=Z=>{var jt=_0();jt.__click=[b0,u,E,C];var Jt=S(jt);kt(Jt,{icon:"mingcute:plus-fill",width:"16",height:"18"});var an=P(Jt);j(()=>K(an,` ${(v(_)?r()("create.template"):r()("create.document"))??""}`)),y(jt),I(Z,jt)};gt(ne,Z=>{v(k)?Z(N0):Z(z0,!1)})}return y(W),y(B),j(()=>{X!==(X=r()("add-document.only-struct"))&&(R.value=(R.__value=r()("add-document.only-struct"))==null?"":r()("add-document.only-struct")),Pt!==(Pt=r()("add-document.full"))&&(Lt.value=(Lt.__value=r()("add-document.full"))==null?"":r()("add-document.full")),H(zt,"style",v(_)?"color: #ccc":"font-weight: bold"),H(Ze,"style",v(_)?"font-weight: bold":"color: #ccc")}),Zs(Et,()=>v(u),Z=>T(u,Z)),I(t,B),G({get showCreateDialog(){return i()},set showCreateDialog(Z){i(Z),p()},get documents(){return o()},set documents(Z){o(Z),p()},get actSheet(){return s()},set actSheet(Z){s(Z),p()},get norms(){return a()},set norms(Z){a(Z),p()},get refreshDocuments(){return l()},set refreshDocuments(Z){l(Z),p()}})}ye(["click","keydown"]),q(ou,{showCreateDialog:{},documents:{},actSheet:{},norms:{},refreshDocuments:{}},[],[],!0);var w0=O('<div class="loading svelte-1q0jr04"><!></div>'),k0=O('<div class="main svelte-1q0jr04"><!> <!></div>');const E0={hash:"svelte-1q0jr04",code:`.main.svelte-1q0jr04 {background-color:#e7eef8;min-height:100vh;padding:10px;}\r
|
|
695
|
+
\r
|
|
696
|
+
@keyframes svelte-1q0jr04-shadowAnimation {\r
|
|
697
|
+
0% {\r
|
|
698
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;\r
|
|
699
|
+
}\r
|
|
700
|
+
100% {\r
|
|
701
|
+
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5) inset;\r
|
|
702
|
+
}\r
|
|
703
|
+
}.loading.svelte-1q0jr04 {display:flex;justify-content:center;align-items:center;height:90vh;}`};function su(t,e){U(e,!0),J(t,E0);const n=ve(),r=()=>he(pe,"$_",n);let i=Q(D([])),o=Q(!0),s=Q(!1),a=Q(D([])),l=Q(D([])),u=Q("procedure");const c=x=>x.sort((k,E)=>k.updatedAt?E.updatedAt?k.updatedAt>E.updatedAt?-1:1:k.updatedAt>(E.createdAt??0)?-1:1:E.updatedAt?(k.createdAt??0)>E.updatedAt?-1:1:(k.createdAt??0)>(E.createdAt??0)?-1:1),d=()=>{const x=new Set,k=new Set;for(let E of v(i))for(let C of E.tags)if(C.name==="norms")for(let N of C.value)k.add(N);else for(let N of C.value)x.add(N);T(l,D([...Array.from(x)])),T(a,D([r()("no-norms"),...Array.from(k)]))},f=()=>{T(i,D(c(v(i)))),d()};Fe(()=>{T(o,!0),Xe.getDocuments().then(x=>{T(i,D(c(x))),T(o,!1),d()}),Ja.subscribe(x=>{})});var h=k0(),b=S(h);{var g=x=>{ou(x,{get norms(){return v(a)},refreshDocuments:f,get actSheet(){return v(u)},set actSheet(k){T(u,D(k))},get showCreateDialog(){return v(s)},set showCreateDialog(k){T(s,D(k))},get documents(){return v(i)},set documents(k){T(i,D(k))}})};gt(b,x=>{v(s)&&x(g)})}var _=P(b,2);{var w=x=>{var k=w0(),E=S(k);ai(E,{color:"#295dcf"}),y(k),I(x,k)},A=x=>{nu(x,{get documents(){return v(i)},set documents(k){T(i,D(k))},get tagArray(){return v(l)},set tagArray(k){T(l,D(k))},get normArray(){return v(a)},set normArray(k){T(a,D(k))},get showCreateDialog(){return v(s)},set showCreateDialog(k){T(s,D(k))},get actSheet(){return v(u)},set actSheet(k){T(u,D(k))}})};gt(_,x=>{v(o)?x(w):x(A,!1)})}y(h),xn(1,h,()=>Xr,()=>({duration:100})),xn(2,h,()=>Xr,()=>({duration:100})),I(t,h),G()}q(su,{},[],[],!0);function S0(t,e){U(e,!0);let n=m(e,"companyId",7,""),r=m(e,"operatorId",7,""),i=m(e,"envId",7,""),o=m(e,"lang",7,"it"),s=m(e,"aksToken",7,"");return jf(o()),document.cookie=`companyId=${n()}`,document.cookie=`operatorId=${r()}`,document.cookie=`envId=${i()}`,document.cookie=`lang=${o()}`,document.cookie=`aksToken=${s()}`,Xa.login().then(l=>{Ja.set(l)}).catch(l=>{window.location.href="#/sad?error="+String(l),console.error(l)}),la(t,{routes:{"/":su,"/sad":Wa,"*":Ya}}),G({get companyId(){return n()},set companyId(l=""){n(l),p()},get operatorId(){return r()},set operatorId(l=""){r(l),p()},get envId(){return i()},set envId(l=""){i(l),p()},get lang(){return o()},set lang(l="it"){o(l),p()},get aksToken(){return s()},set aksToken(l=""){s(l),p()}})}customElements.define("procedure-router",q(S0,{lang:{attribute:"lang",reflect:!0,type:"String"},aksToken:{attribute:"aks-token",reflect:!0,type:"String"},companyId:{attribute:"company-id",reflect:!0,type:"String"},operatorId:{attribute:"operator-id",reflect:!0,type:"String"},envId:{attribute:"env-id",reflect:!0,type:"String"},dev:{attribute:"dev",reflect:!0,type:"Boolean"}},[],[],!1));var A0=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">'),C0=O("<procedure-router></procedure-router>",2);const T0={hash:"svelte-1qk22wa",code:`\r
|
|
704
|
+
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");:root {font-family:"Quicksand", sans-serif;font-optical-sizing:auto;--bs-blue: #295dcf !important;--bs-indigo: #6610f2 !important;--bs-purple: #6f42c1 !important;--bs-pink: #d63384 !important;--bs-red: #fc2f2f !important;--bs-orange: #ff7a00 !important;--bs-yellow: #ffdf48 !important;--bs-green: #45c142 !important;--bs-teal: #20c997 !important;--bs-cyan: #0dcaf0 !important;--bs-black: #000 !important;--bs-white: #fff !important;--bs-gray: #64748b !important;--bs-gray-dark: #3c4450 !important;--bs-gray-100: #fbfdff !important;--bs-gray-200: #dee6f2 !important;--bs-gray-300: #cbd5e2 !important;--bs-gray-400: #9cadc7 !important;--bs-gray-500: #818c9b !important;--bs-gray-600: #64748b !important;--bs-gray-700: #515b6a !important;--bs-gray-800: #3c4450 !important;--bs-gray-900: #333a43 !important;--bs-primary: #295dcf !important;--bs-secondary: #e7eef8 !important;--bs-success: #45c142 !important;--bs-info: #0dcaf0 !important;--bs-warning: #ffdf48 !important;--bs-danger: #fc2f2f !important;--bs-light: #fbfdff !important;--bs-dark: #333a43 !important;}`};function au(t,e){U(e,!1),J(t,T0),Nt();var n=C0();ic(r=>{var i=A0();I(r,i)}),Yn(n,"lang","it"),j(()=>{Yn(n,"companyId","qua_1"),Yn(n,"operatorId","Na25QGQ2CIaujXJgoIIUwNRXBUo2"),Yn(n,"envId","aks_qua"),Yn(n,"aksToken",void 0)}),I(t,n),G()}return q(au,{},[],[],!0),$i(au,{target:document.body})});
|