diff --git a/assets/index-d3b851d4.js b/assets/index-db40b941.js similarity index 91% rename from assets/index-d3b851d4.js rename to assets/index-db40b941.js index eb1a923..b5b1d94 100644 --- a/assets/index-d3b851d4.js +++ b/assets/index-db40b941.js @@ -73,7 +73,7 @@ Error generating stack: `+i.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function $a(){return $a=Object.assign?Object.assign.bind():function(A){for(var e=1;et};return typeof A=="function"?r.read=A:(r.init=A,r.read=n=>n(r),r.write=(n,i,s)=>i(r,typeof s=="function"?s(n(r)):s)),e&&(r.write=e),r}const hp=A=>"init"in A,Bp=A=>!!A.write,Al=new WeakMap,tE=(A,e)=>{Al.set(A,e),A.catch(()=>{}).finally(()=>Al.delete(A))},pp=(A,e)=>{const t=Al.get(A);t&&(Al.delete(A),t(e))},gp=(A,e)=>{A.status="fulfilled",A.value=e},wp=(A,e)=>{A.status="rejected",A.reason=e},rE=A=>typeof(A==null?void 0:A.then)=="function",Ho=(A,e)=>"v"in A&&"v"in e&&Object.is(A.v,e.v),mp=(A,e)=>"e"in A&&"e"in e&&Object.is(A.e,e.e),Oi=A=>"v"in A&&A.v instanceof Promise,nE=(A,e)=>"v"in A&&"v"in e&&A.v.orig&&A.v.orig===e.v.orig,xo=A=>{if("e"in A)throw A.e;return A.v},iE=()=>{const A=new WeakMap,e=new WeakMap,t=new Map;let r,n;const i=v=>A.get(v),s=(v,E)=>{const H=A.get(v);if(A.set(v,E),t.has(v)||t.set(v,H),H&&Oi(H)){const b="v"in E?E.v instanceof Promise?E.v:Promise.resolve(E.v):Promise.reject(E.e);pp(H.v,b)}},o=(v,E,H)=>{const b=new Map;let T=!1;H.forEach((x,N)=>{!x&&N===v&&(x=E),x&&(b.set(N,x),E.d.get(N)!==x&&(T=!0))}),(T||E.d.size!==b.size)&&(E.d=b)},a=(v,E,H)=>{const b=i(v),T={d:(b==null?void 0:b.d)||new Map,v:E};if(H&&o(v,T,H),b&&Ho(b,T)&&b.d===T.d)return b;if(b&&Oi(b)&&Oi(T)&&nE(b,T)){if(b.d===T.d)return b;T.v=b.v}return s(v,T),T},l=(v,E,H,b)=>{if(rE(E)){let T;const x=new Promise((N,$)=>{let eA=!1;E.then(W=>{if(!eA){eA=!0;const M=i(v),V=a(v,x,H);gp(x,W),N(W),(M==null?void 0:M.d)!==V.d&&C(v,V,M==null?void 0:M.d)}},W=>{if(!eA){eA=!0;const M=i(v),V=a(v,x,H);wp(x,W),$(W),(M==null?void 0:M.d)!==V.d&&C(v,V,M==null?void 0:M.d)}}),T=W=>{eA||(eA=!0,W.then(M=>gp(x,M),M=>wp(x,M)),N(W))}});return x.orig=E,x.status="pending",tE(x,N=>{N&&T(N),b==null||b()}),a(v,x,H)}return a(v,E,H)},u=(v,E,H)=>{const b=i(v),T={d:(b==null?void 0:b.d)||new Map,e:E};return H&&o(v,T,H),b&&mp(b,T)&&b.d===T.d?b:(s(v,T),T)},c=(v,E)=>{const H=i(v);if(!E&&H&&(e.has(v)||Array.from(H.d).every(([W,M])=>W===v||c(W)===M)))return H;const b=new Map;let T=!0;const x=W=>{if(W===v){const V=i(W);if(V)return b.set(W,V),xo(V);if(hp(W))return b.set(W,void 0),W.init;throw new Error("no atom init")}const M=c(W);return b.set(W,M),xo(M)};let N,$;const eA={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return!$&&Bp(v)&&($=(...W)=>{if(!T)return d(v,...W)}),$}};try{const W=v.read(x,eA);return l(v,W,b,()=>N==null?void 0:N.abort())}catch(W){return u(v,W,b)}finally{T=!1}},f=v=>xo(c(v)),g=v=>{let E=e.get(v);return E||(E=w(v)),E},B=(v,E)=>!E.l.size&&(!E.t.size||E.t.size===1&&E.t.has(v)),m=v=>{const E=e.get(v);E&&B(v,E)&&h(v)},S=v=>{const E=new Map,H=new WeakMap,b=x=>{const N=e.get(x);N==null||N.t.forEach($=>{$!==x&&(E.set($,(E.get($)||new Set).add(x)),H.set($,(H.get($)||0)+1),b($))})};b(v);const T=x=>{const N=e.get(x);N==null||N.t.forEach($=>{var eA;if($!==x){let W=H.get($);if(W&&H.set($,--W),!W){let M=!!((eA=E.get($))!=null&&eA.size);if(M){const V=i($),q=c($,!0);M=!V||!Ho(V,q)}M||E.forEach(V=>V.delete($))}T($)}})};T(v)},p=(v,...E)=>{let H=!0;const b=N=>xo(c(N)),T=(N,...$)=>{let eA;if(N===v){if(!hp(N))throw new Error("atom not writable");const W=i(N),M=l(N,$[0]);(!W||!Ho(W,M))&&S(N)}else eA=p(N,...$);if(!H){const W=y()}return eA},x=v.write(b,T,...E);return H=!1,x},d=(v,...E)=>{const H=p(v,...E),b=y();return H},w=(v,E)=>{var H;(H=i(v))==null||H.d.forEach((T,x)=>{const N=e.get(x);N?N.t.add(v):x!==v&&w(x,v)}),c(v);const b={t:new Set(E&&[E]),l:new Set};if(e.set(v,b),Bp(v)&&v.onMount){const T=v.onMount((...x)=>d(v,...x));T&&(b.u=T)}return b},h=v=>{var E;const H=(E=e.get(v))==null?void 0:E.u;H&&H(),e.delete(v);const b=i(v);b&&(Oi(b)&&pp(b.v),b.d.forEach((T,x)=>{if(x!==v){const N=e.get(x);N&&(N.t.delete(v),B(x,N)&&h(x))}}))},C=(v,E,H)=>{const b=new Set(E.d.keys());H==null||H.forEach((T,x)=>{if(b.has(x)){b.delete(x);return}const N=e.get(x);N&&(N.t.delete(v),B(x,N)&&h(x))}),b.forEach(T=>{const x=e.get(T);x?x.t.add(v):e.has(v)&&w(T,v)})},y=()=>{let v;for(;t.size;){const E=Array.from(t);t.clear(),E.forEach(([H,b])=>{const T=i(H);if(T){T.d!==(b==null?void 0:b.d)&&C(H,T,b==null?void 0:b.d);const x=e.get(H);x&&!(b&&!Oi(b)&&(Ho(b,T)||mp(b,T)))&&x.l.forEach(N=>N())}})}};return{get:f,set:d,sub:(v,E)=>{const H=g(v),b=y(),T=H.l;return T.add(E),()=>{T.delete(E),m(v)}}}};let Wu;const sE=()=>(Wu||(Wu=iE()),Wu),oE=K.createContext(void 0),Ov=A=>{const e=K.useContext(oE);return(A==null?void 0:A.store)||e||sE()},aE=A=>typeof(A==null?void 0:A.then)=="function",lE=TA.use||(A=>{if(A.status==="pending")throw A;if(A.status==="fulfilled")return A.value;throw A.status==="rejected"?A.reason:(A.status="pending",A.then(e=>{A.status="fulfilled",A.value=e},e=>{A.status="rejected",A.reason=e}),A)});function uE(A,e){const t=Ov(e),[[r,n,i],s]=K.useReducer(l=>{const u=t.get(A);return Object.is(l[0],u)&&l[1]===t&&l[2]===A?l:[u,t,A]},void 0,()=>[t.get(A),t,A]);let o=r;(n!==t||i!==A)&&(s(),o=t.get(A));const a=e==null?void 0:e.delay;return K.useEffect(()=>{const l=t.sub(A,()=>{if(typeof a=="number"){setTimeout(s,a);return}s()});return s(),l},[t,A,a]),K.useDebugValue(o),aE(o)?lE(o):o}function cE(A,e){const t=Ov(e);return K.useCallback((...n)=>t.set(A,...n),[t,A])}function be(A,e){return[uE(A,e),cE(A,e)]}const fE=Symbol();function dE(A){const e=Pl(A,(t,r,n)=>{const i=typeof n=="function"?n(t(e)):n;r(e,i===fE?A:i)});return e}const ah=dE({}),hE=A=>{try{const e=window.localStorage.getItem(A);return e?JSON.parse(e):!1}catch(e){return console.error(e),!1}},BE=(A,e)=>{try{const t=JSON.stringify(e);return window.localStorage.setItem(A,t),!0}catch(t){return console.error(t),!1}},pE=A=>{try{return window.localStorage.removeItem(A),!0}catch(e){return console.error(e),!1}};var _r=(A=>(A.home="/",A.login="/login",A.setting="/setting",A.preview="/preview",A.schedule="/schedule",A.event="/event",A))(_r||{});const gE=()=>{const[,A]=be(ah),e=Kr();K.useEffect(()=>{const t=hE("user");if(!t){e(_r.login);return}A({...t})},[])},hi=Pl({}),lh=Pl({}),bv=Pl(!1),Mv="https://junction-asia-2023.github.io/just-label/svg/logo.svg",wE="https://junction-asia-2023.github.io/just-label/svg/back.svg",mE=()=>{const[{title:A,back:e}]=be(hi),t=Kr(),r=()=>{t(-1)};return A?Q.jsxs("div",{className:"layout-title under-line",children:[Q.jsx("div",{className:`left ${e?"has":""}`,children:e&&Q.jsx("img",{src:wE,alt:"Back Logo",onClick:r})}),Q.jsx("div",{className:"title",children:A==="CardMe"?Q.jsx("div",{className:"logo",children:Q.jsx("img",{className:"logo",src:Mv,alt:"logo"})}):A}),Q.jsx("div",{className:"left"})]}):Q.jsx("div",{className:"layout-title"})},vE="https://junction-asia-2023.github.io/just-label/svg/add.svg",CE=()=>{const[{text:A,add:e}]=be(lh),[,t]=be(bv);return A?Q.jsx("div",{className:"layout-bottom",children:Q.jsxs("div",{className:"layout-bottom-btn",onClick:()=>t(!0),children:[Q.jsx("div",{className:"left",children:e&&Q.jsx("img",{src:vE,alt:"Add Logo",width:20,height:20})}),Q.jsx("div",{className:"title",children:A}),Q.jsx("div",{className:"left"})]})}):Q.jsx("div",{className:"layout-bottom"})},yE=()=>(gE(),Q.jsxs("div",{className:"layout-container",children:[Q.jsx(mE,{}),Q.jsx(JU,{}),Q.jsx(CE,{})]})),QE=()=>{const[,A]=be(hi);K.useLayoutEffect(()=>{A({title:"CardMe"})},[])},FE=()=>{const[{email:A,profileImage:e,department:t,name:r,position:n}]=be(ah);return Q.jsxs("section",{className:"profile-box",children:[Q.jsx("div",{className:"image-box",children:Q.jsx("img",{className:"image",src:e,alt:"profile"})}),Q.jsxs("div",{className:"list-box",children:[Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Name"}),Q.jsx("div",{className:"description",children:r})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Department"}),Q.jsx("div",{className:"description",children:t})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Email"}),Q.jsx("div",{className:"description",children:A})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Position"}),Q.jsx("div",{className:"description",children:n})]})]})]})};const UE="https://junction-asia-2023.github.io/just-label/svg/active.svg",Nl="https://junction-asia-2023.github.io/just-label/svg/right.svg",EE=()=>{const A=Kr(),e=()=>A(_r.setting);return Q.jsxs("section",{className:"active-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:UE,alt:"active icon"})}),Q.jsxs("div",{className:"content",children:[Q.jsx("div",{className:"title",children:"Active"}),Q.jsx("div",{className:"description",children:"Expressing myself"})]}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},vp=()=>Q.jsx("div",{className:"gray-bar"}),SE="https://junction-asia-2023.github.io/just-label/svg/preview.svg",IE=()=>{const A=Kr(),e=()=>A(_r.preview);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:SE,alt:"preview icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"CardMe Preview"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},HE="https://junction-asia-2023.github.io/just-label/svg/schedule.svg",xE=()=>{const A=Kr(),e=()=>A(_r.schedule);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:HE,alt:"schedule icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"Schedule"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},LE="https://junction-asia-2023.github.io/just-label/svg/event.svg",DE=()=>{const A=Kr(),e=()=>A(_r.event);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:LE,alt:"event icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"Event"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},TE=()=>{const A=()=>{};return Q.jsx("div",{className:"footer-box",children:Q.jsx("div",{className:"description",onClick:A,children:"Do you need to modify information?"})})},RE=()=>(QE(),Q.jsxs("div",{className:"home-container",children:[Q.jsx(FE,{}),Q.jsx(vp,{}),Q.jsx(EE,{}),Q.jsx(IE,{}),Q.jsx(vp,{}),Q.jsx(xE,{}),Q.jsx(DE,{}),Q.jsx(TE,{})]}));var Ys=A=>A.type==="checkbox",Vn=A=>A instanceof Date,Ee=A=>A==null;const Kv=A=>typeof A=="object";var Ae=A=>!Ee(A)&&!Array.isArray(A)&&Kv(A)&&!Vn(A),_v=A=>Ae(A)&&A.target?Ys(A.target)?A.target.checked:A.target.value:A,OE=A=>A.substring(0,A.search(/\.\d+(\.|$)/))||A,Pv=(A,e)=>A.has(OE(e)),bE=A=>{const e=A.constructor&&A.constructor.prototype;return Ae(e)&&e.hasOwnProperty("isPrototypeOf")},uh=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ft(A){let e;const t=Array.isArray(A);if(A instanceof Date)e=new Date(A);else if(A instanceof Set)e=new Set(A);else if(!(uh&&(A instanceof Blob||A instanceof FileList))&&(t||Ae(A)))if(e=t?[]:{},!t&&!bE(A))e=A;else for(const r in A)A.hasOwnProperty(r)&&(e[r]=Ft(A[r]));else return A;return e}var Zs=A=>Array.isArray(A)?A.filter(Boolean):[],jA=A=>A===void 0,z=(A,e,t)=>{if(!e||!Ae(A))return t;const r=Zs(e.split(/[,[\].]+?/)).reduce((n,i)=>Ee(n)?n:n[i],A);return jA(r)||r===A?jA(A[e])?t:A[e]:r};const el={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},pt={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Kt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},ME=TA.createContext(null),ch=()=>TA.useContext(ME);var Nv=(A,e,t,r=!0)=>{const n={defaultValues:e._defaultValues};for(const i in A)Object.defineProperty(n,i,{get:()=>{const s=i;return e._proxyFormState[s]!==pt.all&&(e._proxyFormState[s]=!r||pt.all),t&&(t[s]=!0),A[s]}});return n},ze=A=>Ae(A)&&!Object.keys(A).length,kv=(A,e,t,r)=>{t(A);const{name:n,...i}=A;return ze(i)||Object.keys(i).length>=Object.keys(e).length||Object.keys(i).find(s=>e[s]===(!r||pt.all))},Ba=A=>Array.isArray(A)?A:[A],Vv=(A,e,t)=>t&&e?A===e:!A||!e||A===e||Ba(A).some(r=>r&&(r.startsWith(e)||e.startsWith(r)));function fh(A){const e=TA.useRef(A);e.current=A,TA.useEffect(()=>{const t=!A.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{t&&t.unsubscribe()}},[A.disabled])}function KE(A){const e=ch(),{control:t=e.control,disabled:r,name:n,exact:i}=A||{},[s,o]=TA.useState(t._formState),a=TA.useRef(!0),l=TA.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=TA.useRef(n);return u.current=n,fh({disabled:r,next:c=>a.current&&Vv(u.current,c.name,i)&&kv(c,l.current,t._updateFormState)&&o({...t._formState,...c}),subject:t._subjects.state}),TA.useEffect(()=>(a.current=!0,l.current.isValid&&t._updateValid(!0),()=>{a.current=!1}),[t]),Nv(s,t,l.current,!1)}var Et=A=>typeof A=="string",Gv=(A,e,t,r,n)=>Et(A)?(r&&e.watch.add(A),z(t,A,n)):Array.isArray(A)?A.map(i=>(r&&e.watch.add(i),z(t,i))):(r&&(e.watchAll=!0),t);function _E(A){const e=ch(),{control:t=e.control,name:r,defaultValue:n,disabled:i,exact:s}=A||{},o=TA.useRef(r);o.current=r,fh({disabled:i,subject:t._subjects.values,next:u=>{Vv(o.current,u.name,s)&&l(Ft(Gv(o.current,t._names,u.values||t._formValues,!1,n)))}});const[a,l]=TA.useState(t._getWatch(r,n));return TA.useEffect(()=>t._removeUnmounted()),a}var dh=A=>/^\w*$/.test(A),jv=A=>Zs(A.replace(/["|']|\]/g,"").split(/\.|\[/));function FA(A,e,t){let r=-1;const n=dh(e)?[e]:jv(e),i=n.length,s=i-1;for(;++r{const l=r._options.shouldUnregister||n,u=(c,f)=>{const g=z(r._fields,c);g&&(g._f.mount=f)};if(u(t,!0),l){const c=Ft(z(r._options.defaultValues,t));FA(r._defaultValues,t,c),jA(z(r._formValues,t))&&FA(r._formValues,t,c)}return()=>{(i?l&&!r._state.action:l)?r.unregister(t):u(t,!1)}},[t,r,i,n]),{field:{name:t,value:s,onChange:TA.useCallback(l=>a.current.onChange({target:{value:_v(l),name:t},type:el.CHANGE}),[t]),onBlur:TA.useCallback(()=>a.current.onBlur({target:{value:z(r._formValues,t),name:t},type:el.BLUR}),[t,r]),ref:l=>{const u=z(r._fields,t);u&&l&&(u._f.ref={focus:()=>l.focus(),select:()=>l.select(),setCustomValidity:c=>l.setCustomValidity(c),reportValidity:()=>l.reportValidity()})}},formState:o,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!z(o.errors,t)},isDirty:{enumerable:!0,get:()=>!!z(o.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!z(o.touchedFields,t)},error:{enumerable:!0,get:()=>z(o.errors,t)}})}}const NE=A=>A.render(PE(A));var kE=(A,e,t,r,n)=>e?{...t[A],types:{...t[A]&&t[A].types?t[A].types:{},[r]:n||!0}}:{};const If=(A,e,t)=>{for(const r of t||Object.keys(A)){const n=z(A,r);if(n){const{_f:i,...s}=n;if(i&&e(i.name)){if(i.ref.focus){i.ref.focus();break}else if(i.refs&&i.refs[0].focus){i.refs[0].focus();break}}else Ae(s)&&If(s,e)}}};var Cp=A=>({isOnSubmit:!A||A===pt.onSubmit,isOnBlur:A===pt.onBlur,isOnChange:A===pt.onChange,isOnAll:A===pt.all,isOnTouch:A===pt.onTouched}),yp=(A,e,t)=>!t&&(e.watchAll||e.watch.has(A)||[...e.watch].some(r=>A.startsWith(r)&&/^\.\w+/.test(A.slice(r.length)))),VE=(A,e,t)=>{const r=Zs(z(A,t));return FA(r,"root",e[t]),FA(A,t,r),A},qn=A=>typeof A=="boolean",hh=A=>A.type==="file",gr=A=>typeof A=="function",tl=A=>{if(!uh)return!1;const e=A?A.ownerDocument:0;return A instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},pa=A=>Et(A),Bh=A=>A.type==="radio",rl=A=>A instanceof RegExp;const Qp={value:!1,isValid:!1},Fp={value:!0,isValid:!0};var Wv=A=>{if(Array.isArray(A)){if(A.length>1){const e=A.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:e,isValid:!!e.length}}return A[0].checked&&!A[0].disabled?A[0].attributes&&!jA(A[0].attributes.value)?jA(A[0].value)||A[0].value===""?Fp:{value:A[0].value,isValid:!0}:Fp:Qp}return Qp};const Up={isValid:!1,value:null};var zv=A=>Array.isArray(A)?A.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Up):Up;function Ep(A,e,t="validate"){if(pa(A)||Array.isArray(A)&&A.every(pa)||qn(A)&&!A)return{type:t,message:pa(A)?A:"",ref:e}}var mn=A=>Ae(A)&&!rl(A)?A:{value:A,message:""},Sp=async(A,e,t,r,n)=>{const{ref:i,refs:s,required:o,maxLength:a,minLength:l,min:u,max:c,pattern:f,validate:g,name:B,valueAsNumber:m,mount:S,disabled:p}=A._f,d=z(e,B);if(!S||p)return{};const w=s?s[0]:i,h=T=>{r&&w.reportValidity&&(w.setCustomValidity(qn(T)?"":T||""),w.reportValidity())},C={},y=Bh(i),U=Ys(i),v=y||U,E=(m||hh(i))&&jA(i.value)&&jA(d)||tl(i)&&i.value===""||d===""||Array.isArray(d)&&!d.length,H=kE.bind(null,B,t,C),b=(T,x,N,$=Kt.maxLength,eA=Kt.minLength)=>{const W=T?x:N;C[B]={type:T?$:eA,message:W,ref:i,...H(T?$:eA,W)}};if(n?!Array.isArray(d)||!d.length:o&&(!v&&(E||Ee(d))||qn(d)&&!d||U&&!Wv(s).isValid||y&&!zv(s).isValid)){const{value:T,message:x}=pa(o)?{value:!!o,message:o}:mn(o);if(T&&(C[B]={type:Kt.required,message:x,ref:w,...H(Kt.required,x)},!t))return h(x),C}if(!E&&(!Ee(u)||!Ee(c))){let T,x;const N=mn(c),$=mn(u);if(!Ee(d)&&!isNaN(d)){const eA=i.valueAsNumber||d&&+d;Ee(N.value)||(T=eA>N.value),Ee($.value)||(x=eA<$.value)}else{const eA=i.valueAsDate||new Date(d),W=q=>new Date(new Date().toDateString()+" "+q),M=i.type=="time",V=i.type=="week";Et(N.value)&&d&&(T=M?W(d)>W(N.value):V?d>N.value:eA>new Date(N.value)),Et($.value)&&d&&(x=M?W(d)+T.value,$=!Ee(x.value)&&d.length<+x.value;if((N||$)&&(b(N,T.message,x.message),!t))return h(C[B].message),C}if(f&&!E&&Et(d)){const{value:T,message:x}=mn(f);if(rl(T)&&!d.match(T)&&(C[B]={type:Kt.pattern,message:x,ref:i,...H(Kt.pattern,x)},!t))return h(x),C}if(g){if(gr(g)){const T=await g(d,e),x=Ep(T,w);if(x&&(C[B]={...x,...H(Kt.validate,x.message)},!t))return h(x.message),C}else if(Ae(g)){let T={};for(const x in g){if(!ze(T)&&!t)break;const N=Ep(await g[x](d,e),w,x);N&&(T={...N,...H(x,N.message)},h(N.message),t&&(C[B]=T))}if(!ze(T)&&(C[B]={ref:w,...T},!t))return C}}return h(!0),C};function GE(A,e){const t=e.slice(0,-1).length;let r=0;for(;r{for(const i of A)i.next&&i.next(n)},subscribe:n=>(A.push(n),{unsubscribe:()=>{A=A.filter(i=>i!==n)}}),unsubscribe:()=>{A=[]}}}var nl=A=>Ee(A)||!Kv(A);function An(A,e){if(nl(A)||nl(e))return A===e;if(Vn(A)&&Vn(e))return A.getTime()===e.getTime();const t=Object.keys(A),r=Object.keys(e);if(t.length!==r.length)return!1;for(const n of t){const i=A[n];if(!r.includes(n))return!1;if(n!=="ref"){const s=e[n];if(Vn(i)&&Vn(s)||Ae(i)&&Ae(s)||Array.isArray(i)&&Array.isArray(s)?!An(i,s):i!==s)return!1}}return!0}var Xv=A=>A.type==="select-multiple",WE=A=>Bh(A)||Ys(A),Xu=A=>tl(A)&&A.isConnected,Jv=A=>{for(const e in A)if(gr(A[e]))return!0;return!1};function il(A,e={}){const t=Array.isArray(A);if(Ae(A)||t)for(const r in A)Array.isArray(A[r])||Ae(A[r])&&!Jv(A[r])?(e[r]=Array.isArray(A[r])?[]:{},il(A[r],e[r])):Ee(A[r])||(e[r]=!0);return e}function Yv(A,e,t){const r=Array.isArray(A);if(Ae(A)||r)for(const n in A)Array.isArray(A[n])||Ae(A[n])&&!Jv(A[n])?jA(e)||nl(t[n])?t[n]=Array.isArray(A[n])?il(A[n],[]):{...il(A[n])}:Yv(A[n],Ee(e)?{}:e[n],t[n]):t[n]=!An(A[n],e[n]);return t}var Ju=(A,e)=>Yv(A,e,il(e)),Zv=(A,{valueAsNumber:e,valueAsDate:t,setValueAs:r})=>jA(A)?A:e?A===""?NaN:A&&+A:t&&Et(A)?new Date(A):r?r(A):A;function Yu(A){const e=A.ref;if(!(A.refs?A.refs.every(t=>t.disabled):e.disabled))return hh(e)?e.files:Bh(e)?zv(A.refs).value:Xv(e)?[...e.selectedOptions].map(({value:t})=>t):Ys(e)?Wv(A.refs).value:Zv(jA(e.value)?A.ref.value:e.value,A)}var zE=(A,e,t,r)=>{const n={};for(const i of A){const s=z(e,i);s&&FA(n,i,s._f)}return{criteriaMode:t,names:[...A],fields:n,shouldUseNativeValidation:r}},bi=A=>jA(A)?A:rl(A)?A.source:Ae(A)?rl(A.value)?A.value.source:A.value:A,XE=A=>A.mount&&(A.required||A.min||A.max||A.maxLength||A.minLength||A.pattern||A.validate);function Ip(A,e,t){const r=z(A,t);if(r||dh(t))return{error:r,name:t};const n=t.split(".");for(;n.length;){const i=n.join("."),s=z(e,i),o=z(A,i);if(s&&!Array.isArray(s)&&t!==i)return{name:t};if(o&&o.type)return{name:i,error:o};n.pop()}return{name:t}}var JE=(A,e,t,r,n)=>n.isOnAll?!1:!t&&n.isOnTouch?!(e||A):(t?r.isOnBlur:n.isOnBlur)?!A:(t?r.isOnChange:n.isOnChange)?A:!0,YE=(A,e)=>!Zs(z(A,e)).length&&ae(A,e);const ZE={mode:pt.onSubmit,reValidateMode:pt.onChange,shouldFocusError:!0};function qE(A={},e){let t={...ZE,...A},r={submitCount:0,isDirty:!1,isLoading:gr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},n={},i=Ae(t.defaultValues)||Ae(t.values)?Ft(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:Ft(i),o={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:zu(),array:zu(),state:zu()},g=A.resetOptions&&A.resetOptions.keepDirtyValues,B=Cp(t.mode),m=Cp(t.reValidateMode),S=t.criteriaMode===pt.all,p=F=>D=>{clearTimeout(u),u=setTimeout(F,D)},d=async F=>{if(c.isValid||F){const D=t.resolver?ze((await E()).errors):await b(n,!0);D!==r.isValid&&f.state.next({isValid:D})}},w=F=>c.isValidating&&f.state.next({isValidating:F}),h=(F,D=[],O,Z,G=!0,k=!0)=>{if(Z&&O){if(o.action=!0,k&&Array.isArray(z(n,F))){const tA=O(z(n,F),Z.argA,Z.argB);G&&FA(n,F,tA)}if(k&&Array.isArray(z(r.errors,F))){const tA=O(z(r.errors,F),Z.argA,Z.argB);G&&FA(r.errors,F,tA),YE(r.errors,F)}if(c.touchedFields&&k&&Array.isArray(z(r.touchedFields,F))){const tA=O(z(r.touchedFields,F),Z.argA,Z.argB);G&&FA(r.touchedFields,F,tA)}c.dirtyFields&&(r.dirtyFields=Ju(i,s)),f.state.next({name:F,isDirty:x(F,D),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else FA(s,F,D)},C=(F,D)=>{FA(r.errors,F,D),f.state.next({errors:r.errors})},y=(F,D,O,Z)=>{const G=z(n,F);if(G){const k=z(s,F,jA(O)?z(i,F):O);jA(k)||Z&&Z.defaultChecked||D?FA(s,F,D?k:Yu(G._f)):eA(F,k),o.mount&&d()}},U=(F,D,O,Z,G)=>{let k=!1,tA=!1;const SA={name:F};if(!O||Z){c.isDirty&&(tA=r.isDirty,r.isDirty=SA.isDirty=x(),k=tA!==SA.isDirty);const RA=An(z(i,F),D);tA=z(r.dirtyFields,F),RA?ae(r.dirtyFields,F):FA(r.dirtyFields,F,!0),SA.dirtyFields=r.dirtyFields,k=k||c.dirtyFields&&tA!==!RA}if(O){const RA=z(r.touchedFields,F);RA||(FA(r.touchedFields,F,O),SA.touchedFields=r.touchedFields,k=k||c.touchedFields&&RA!==O)}return k&&G&&f.state.next(SA),k?SA:{}},v=(F,D,O,Z)=>{const G=z(r.errors,F),k=c.isValid&&qn(D)&&r.isValid!==D;if(A.delayError&&O?(l=p(()=>C(F,O)),l(A.delayError)):(clearTimeout(u),l=null,O?FA(r.errors,F,O):ae(r.errors,F)),(O?!An(G,O):G)||!ze(Z)||k){const tA={...Z,...k&&qn(D)?{isValid:D}:{},errors:r.errors,name:F};r={...r,...tA},f.state.next(tA)}w(!1)},E=async F=>t.resolver(s,t.context,zE(F||a.mount,n,t.criteriaMode,t.shouldUseNativeValidation)),H=async F=>{const{errors:D}=await E();if(F)for(const O of F){const Z=z(D,O);Z?FA(r.errors,O,Z):ae(r.errors,O)}else r.errors=D;return D},b=async(F,D,O={valid:!0})=>{for(const Z in F){const G=F[Z];if(G){const{_f:k,...tA}=G;if(k){const SA=a.array.has(k.name),RA=await Sp(G,s,S,t.shouldUseNativeValidation&&!D,SA);if(RA[k.name]&&(O.valid=!1,D))break;!D&&(z(RA,k.name)?SA?VE(r.errors,RA,k.name):FA(r.errors,k.name,RA[k.name]):ae(r.errors,k.name))}tA&&await b(tA,D,O)}}return O.valid},T=()=>{for(const F of a.unMount){const D=z(n,F);D&&(D._f.refs?D._f.refs.every(O=>!Xu(O)):!Xu(D._f.ref))&&PA(F)}a.unMount=new Set},x=(F,D)=>(F&&D&&FA(s,F,D),!An(dA(),i)),N=(F,D,O)=>Gv(F,a,{...o.mount?s:jA(D)?i:Et(F)?{[F]:D}:D},O,D),$=F=>Zs(z(o.mount?s:i,F,A.shouldUnregister?z(i,F,[]):[])),eA=(F,D,O={})=>{const Z=z(n,F);let G=D;if(Z){const k=Z._f;k&&(!k.disabled&&FA(s,F,Zv(D,k)),G=tl(k.ref)&&Ee(D)?"":D,Xv(k.ref)?[...k.ref.options].forEach(tA=>tA.selected=G.includes(tA.value)):k.refs?Ys(k.ref)?k.refs.length>1?k.refs.forEach(tA=>(!tA.defaultChecked||!tA.disabled)&&(tA.checked=Array.isArray(G)?!!G.find(SA=>SA===tA.value):G===tA.value)):k.refs[0]&&(k.refs[0].checked=!!G):k.refs.forEach(tA=>tA.checked=tA.value===G):hh(k.ref)?k.ref.value="":(k.ref.value=G,k.ref.type||f.values.next({name:F,values:{...s}})))}(O.shouldDirty||O.shouldTouch)&&U(F,G,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&q(F)},W=(F,D,O)=>{for(const Z in D){const G=D[Z],k=`${F}.${Z}`,tA=z(n,k);(a.array.has(F)||!nl(G)||tA&&!tA._f)&&!Vn(G)?W(k,G,O):eA(k,G,O)}},M=(F,D,O={})=>{const Z=z(n,F),G=a.array.has(F),k=Ft(D);FA(s,F,k),G?(f.array.next({name:F,values:{...s}}),(c.isDirty||c.dirtyFields)&&O.shouldDirty&&f.state.next({name:F,dirtyFields:Ju(i,s),isDirty:x(F,k)})):Z&&!Z._f&&!Ee(k)?W(F,k,O):eA(F,k,O),yp(F,a)&&f.state.next({...r}),f.values.next({name:F,values:{...s}}),!o.mount&&e()},V=async F=>{const D=F.target;let O=D.name,Z=!0;const G=z(n,O),k=()=>D.type?Yu(G._f):_v(F);if(G){let tA,SA;const RA=k(),Ot=F.type===el.BLUR||F.type===el.FOCUS_OUT,pn=!XE(G._f)&&!t.resolver&&!z(r.errors,O)&&!G._f.deps||JE(Ot,z(r.touchedFields,O),r.isSubmitted,m,B),gn=yp(O,a,Ot);FA(s,O,RA),Ot?(G._f.onBlur&&G._f.onBlur(F),l&&l(0)):G._f.onChange&&G._f.onChange(F);const Pr=U(O,RA,Ot,!1),lu=!ze(Pr)||gn;if(!Ot&&f.values.next({name:O,type:F.type,values:{...s}}),pn)return c.isValid&&d(),lu&&f.state.next({name:O,...gn?{}:Pr});if(!Ot&&gn&&f.state.next({...r}),w(!0),t.resolver){const{errors:mi}=await E([O]),uu=Ip(r.errors,n,O),vi=Ip(mi,n,uu.name||O);tA=vi.error,O=vi.name,SA=ze(mi)}else tA=(await Sp(G,s,S,t.shouldUseNativeValidation))[O],Z=isNaN(RA)||RA===z(s,O,RA),Z&&(tA?SA=!1:c.isValid&&(SA=await b(n,!0)));Z&&(G._f.deps&&q(G._f.deps),v(O,SA,tA,Pr))}},q=async(F,D={})=>{let O,Z;const G=Ba(F);if(w(!0),t.resolver){const k=await H(jA(F)?F:G);O=ze(k),Z=F?!G.some(tA=>z(k,tA)):O}else F?(Z=(await Promise.all(G.map(async k=>{const tA=z(n,k);return await b(tA&&tA._f?{[k]:tA}:tA)}))).every(Boolean),!(!Z&&!r.isValid)&&d()):Z=O=await b(n);return f.state.next({...!Et(F)||c.isValid&&O!==r.isValid?{}:{name:F},...t.resolver||!F?{isValid:O}:{},errors:r.errors,isValidating:!1}),D.shouldFocus&&!Z&&If(n,k=>k&&z(r.errors,k),F?G:a.mount),Z},dA=F=>{const D={...i,...o.mount?s:{}};return jA(F)?D:Et(F)?z(D,F):F.map(O=>z(D,O))},pA=(F,D)=>({invalid:!!z((D||r).errors,F),isDirty:!!z((D||r).dirtyFields,F),isTouched:!!z((D||r).touchedFields,F),error:z((D||r).errors,F)}),te=F=>{F&&Ba(F).forEach(D=>ae(r.errors,D)),f.state.next({errors:F?r.errors:{}})},uA=(F,D,O)=>{const Z=(z(n,F,{_f:{}})._f||{}).ref;FA(r.errors,F,{...D,ref:Z}),f.state.next({name:F,errors:r.errors,isValid:!1}),O&&O.shouldFocus&&Z&&Z.focus&&Z.focus()},_A=(F,D)=>gr(F)?f.values.subscribe({next:O=>F(N(void 0,D),O)}):N(F,D,!0),PA=(F,D={})=>{for(const O of F?Ba(F):a.mount)a.mount.delete(O),a.array.delete(O),D.keepValue||(ae(n,O),ae(s,O)),!D.keepError&&ae(r.errors,O),!D.keepDirty&&ae(r.dirtyFields,O),!D.keepTouched&&ae(r.touchedFields,O),!t.shouldUnregister&&!D.keepDefaultValue&&ae(i,O);f.values.next({values:{...s}}),f.state.next({...r,...D.keepDirty?{isDirty:x()}:{}}),!D.keepIsValid&&d()},Be=(F,D={})=>{let O=z(n,F);const Z=qn(D.disabled);return FA(n,F,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:F}},name:F,mount:!0,...D}}),a.mount.add(F),O?Z&&FA(s,F,D.disabled?void 0:z(s,F,Yu(O._f))):y(F,!0,D.value),{...Z?{disabled:D.disabled}:{},...t.progressive?{required:!!D.required,min:bi(D.min),max:bi(D.max),minLength:bi(D.minLength),maxLength:bi(D.maxLength),pattern:bi(D.pattern)}:{},name:F,onChange:V,onBlur:V,ref:G=>{if(G){Be(F,D),O=z(n,F);const k=jA(G.value)&&G.querySelectorAll&&G.querySelectorAll("input,select,textarea")[0]||G,tA=WE(k),SA=O._f.refs||[];if(tA?SA.find(RA=>RA===k):k===O._f.ref)return;FA(n,F,{_f:{...O._f,...tA?{refs:[...SA.filter(Xu),k,...Array.isArray(z(i,F))?[{}]:[]],ref:{type:k.type,name:F}}:{ref:k}}}),y(F,!1,void 0,k)}else O=z(n,F,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||D.shouldUnregister)&&!(Pv(a.array,F)&&o.action)&&a.unMount.add(F)}}},nt=()=>t.shouldFocusError&&If(n,F=>F&&z(r.errors,F),a.mount),so=(F,D)=>async O=>{O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let Z=Ft(s);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:G,values:k}=await E();r.errors=G,Z=k}else await b(n);ae(r.errors,"root"),ze(r.errors)?(f.state.next({errors:{}}),await F(Z,O)):(D&&await D({...r.errors},O),nt(),setTimeout(nt)),f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ze(r.errors),submitCount:r.submitCount+1,errors:r.errors})},au=(F,D={})=>{z(n,F)&&(jA(D.defaultValue)?M(F,z(i,F)):(M(F,D.defaultValue),FA(i,F,D.defaultValue)),D.keepTouched||ae(r.touchedFields,F),D.keepDirty||(ae(r.dirtyFields,F),r.isDirty=D.defaultValue?x(F,z(i,F)):x()),D.keepError||(ae(r.errors,F),c.isValid&&d()),f.state.next({...r}))},wi=(F,D={})=>{const O=F||i,Z=Ft(O),G=F&&!ze(F)?Z:i;if(D.keepDefaultValues||(i=O),!D.keepValues){if(D.keepDirtyValues||g)for(const k of a.mount)z(r.dirtyFields,k)?FA(G,k,z(s,k)):M(k,z(G,k));else{if(uh&&jA(F))for(const k of a.mount){const tA=z(n,k);if(tA&&tA._f){const SA=Array.isArray(tA._f.refs)?tA._f.refs[0]:tA._f.ref;if(tl(SA)){const RA=SA.closest("form");if(RA){RA.reset();break}}}}n={}}s=A.shouldUnregister?D.keepDefaultValues?Ft(i):{}:Ft(G),f.array.next({values:{...G}}),f.values.next({values:{...G}})}a={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!o.mount&&e(),o.mount=!c.isValid||!!D.keepIsValid,o.watch=!!A.shouldUnregister,f.state.next({submitCount:D.keepSubmitCount?r.submitCount:0,isDirty:D.keepDirty?r.isDirty:!!(D.keepDefaultValues&&!An(F,i)),isSubmitted:D.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:D.keepDirtyValues?r.dirtyFields:D.keepDefaultValues&&F?Ju(i,F):{},touchedFields:D.keepTouched?r.touchedFields:{},errors:D.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},oo=(F,D)=>wi(gr(F)?F(s):F,D);return{control:{register:Be,unregister:PA,getFieldState:pA,handleSubmit:so,setError:uA,_executeSchema:E,_getWatch:N,_getDirty:x,_updateValid:d,_removeUnmounted:T,_updateFieldArray:h,_getFieldArray:$,_reset:wi,_resetDefaultValues:()=>gr(t.defaultValues)&&t.defaultValues().then(F=>{oo(F,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:F=>{r={...r,...F}},_subjects:f,_proxyFormState:c,get _fields(){return n},get _formValues(){return s},get _state(){return o},set _state(F){o=F},get _defaultValues(){return i},get _names(){return a},set _names(F){a=F},get _formState(){return r},set _formState(F){r=F},get _options(){return t},set _options(F){t={...t,...F}}},trigger:q,register:Be,handleSubmit:so,watch:_A,setValue:M,getValues:dA,reset:oo,resetField:au,clearErrors:te,unregister:PA,setError:uA,setFocus:(F,D={})=>{const O=z(n,F),Z=O&&O._f;if(Z){const G=Z.refs?Z.refs[0]:Z.ref;G.focus&&(G.focus(),D.shouldSelect&&G.select())}},getFieldState:pA}}function qv(A={}){const e=TA.useRef(),t=TA.useRef(),[r,n]=TA.useState({isDirty:!1,isValidating:!1,isLoading:gr(A.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:gr(A.defaultValues)?void 0:A.defaultValues});e.current||(e.current={...qE(A,()=>n(s=>({...s}))),formState:r});const i=e.current.control;return i._options=A,fh({subject:i._subjects.state,next:s=>{kv(s,i._proxyFormState,i._updateFormState,!0)&&n({...i._formState})}}),TA.useEffect(()=>{A.values&&!An(A.values,t.current)?(i._reset(A.values,i._options.resetOptions),t.current=A.values):i._resetDefaultValues()},[A.values,i]),TA.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),e.current.formState=Nv(r,i),e.current}const Zu={name:"Sangchul",profileImage:"https://avatars.githubusercontent.com/u/23524849?v=4",email:"1ilsang@naver.com",companyNo:"JS1234",password:"just",department:"Social Dev1",position:"Software Engineer"},$E=()=>{const[,A]=be(ah),{register:e,handleSubmit:t,formState:{errors:r}}=qv(),n=s=>{if(Zu.email!==s.email||Zu.password!==s.password){alert("'No user information'");return}const o={...Zu};delete o.password,A({...o}),BE("user",o),i(_r.home)},i=Kr();return{errors:r,register:e,handleSubmit:t,onSubmit:n}};const AS=()=>{const{errors:A,register:e,handleSubmit:t,onSubmit:r}=$E();return Q.jsxs("div",{className:"login-container",children:[Q.jsx("img",{src:Mv,alt:"cardme logo"}),Q.jsxs("form",{onSubmit:t(r),children:[Q.jsxs("div",{className:"input-group",children:[Q.jsx("label",{children:"Email"}),Q.jsx("input",{type:"text",placeholder:"Please enter your email",...e("email",{required:!0}),"area-invalid":A.email?"true":"false"})]}),Q.jsxs("div",{className:"input-group",children:[Q.jsx("label",{children:"Password"}),Q.jsx("input",{type:"password",placeholder:"Please enter your password",...e("password",{required:!0}),"aria-invalid":A.password?"true":"false"})]}),(A.email||A.password)&&Q.jsx("div",{children:"Please enter your email or password"}),Q.jsx("a",{href:"#",children:"Forgot your password?"}),A.dataError&&Q.jsx("div",{children:A.dataError.message}),Q.jsx("input",{type:"submit",value:"Login"})]}),Q.jsx("a",{href:"#",children:"Not signed up yet?"})]})},eS=()=>{const{register:A,handleSubmit:e,control:t}=qv({defaultValues:{mude:"",comment:""}}),r=Kr();return{register:A,handleSubmit:e,control:t,onSubmit:s=>console.log(s),handlePreviewClick:()=>{r(_r.preview)}}};const tS=["mood_BAD","mood_GOOD"],rS="What is the Active Setting?",nS="Congratulations on winning! Press the button to get a giftCongratulations on winning! Press the button to get a giftCongratulations on winning!",iS="Word of the day",sS="Word of the Sticker",oS=({handlePreviewClick:A})=>Q.jsxs("div",{className:"setting-preview-container",children:[Q.jsx("div",{className:"setting-preview-title-text",children:rS}),Q.jsx("div",{className:"setting-preview-sub-text",children:nS}),Q.jsx("button",{className:"setting-preview-btn",onClick:A,children:"Preview"})]}),aS=({control:A})=>Q.jsxs("div",{className:"setting-sticker-container",children:[Q.jsx("span",{className:"setting-sticker-title",children:sS}),Q.jsx(NE,{name:"mude",control:A,rules:{required:!0},render:({field:e})=>Q.jsx("div",{className:"setting-sticker-box",...e,children:tS.map(t=>Q.jsxs("label",{htmlFor:t,className:"setting-sticker-width",children:[Q.jsx("input",{type:"radio",id:t,name:e.name,value:t,checked:e.value===t,onChange:r=>{e.onChange(r.target.value)}}),Q.jsx("img",{src:`/png/${t}.png`,className:"logo react",alt:"React logo"})]},t))})})]}),lS=({register:A})=>Q.jsxs("div",{className:"setting-word-container",children:[Q.jsx("span",{className:"setting-word-title",children:iS}),Q.jsx("input",{className:"setting-word-input",...A("comment")})]}),uS=({handleSubmit:A,onSubmit:e,register:t,control:r})=>{const[n,i]=be(bv),s=K.useRef(null);return K.useEffect(()=>{var o;n&&(i(!1),(o=s.current)==null||o.click())},[n]),Q.jsxs("form",{onSubmit:A(e),children:[Q.jsx(lS,{register:t}),Q.jsx(aS,{control:r}),Q.jsx("input",{ref:s,type:"submit",style:{visibility:"hidden"}})]})},cS=()=>{const[,A]=be(hi),[,e]=be(lh),{handlePreviewClick:t,handleSubmit:r,onSubmit:n,register:i,control:s}=eS();return K.useLayoutEffect(()=>{A({title:"Active",back:!0}),e({text:"Save"})},[]),Q.jsxs("div",{className:"setting-container",children:[Q.jsx(oS,{handlePreviewClick:t}),Q.jsx(uS,{handleSubmit:r,onSubmit:n,register:i,control:s})]})},fS=()=>Q.jsx("div",{children:"Error!"});const dS=()=>{const A=()=>{pE("user"),window.location.reload()};return Q.jsxs("div",{className:"not-found",children:[Q.jsx("span",{children:"404"}),Q.jsx("button",{onClick:A,children:"Go Home"})]})};const hS=()=>Q.jsxs("div",{className:"preview-bottom-text-container",children:[Q.jsx("div",{className:"preview-bottom-title-text",children:"My Profile"}),Q.jsx("div",{className:"preview-bottom-sub-text",children:"My basic information is displayed."})]}),BS=[{labelId:"085C1B1FE1D7",productId:"JC000001",productName:"test_product_1"},{labelId:"085C1B25E1DE",productId:"JC000002",productName:"test_product_2"},{labelId:"085C1B45E1D8",productId:"JC000003",productName:"test_product_3"},{labelId:"085C1B47E1DA",productId:"JC000004",productName:"test_product_4"},{labelId:"085C1B46E1DB",productId:"JC000005",productName:"test_product_5"}],pS="https://stage00.common.solumesl.com/common/api/v2/common/labels/image?company=JC01&store=1111",gS="eyJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsiLCJ0eXAiOiJKV1QifQ.eyJpZHAiOiJMb2NhbEFjY291bnQiLCJvaWQiOiI3ZjViOTAxNy04ZDU0LTQ4OTYtYTZhNi03ZDQxMGM1MmJiMzAiLCJzdWIiOiI3ZjViOTAxNy04ZDU0LTQ4OTYtYTZhNi03ZDQxMGM1MmJiMzAiLCJuYW1lIjoiMTNwZnQxMyIsIm5ld1VzZXIiOmZhbHNlLCJleHRlbnNpb25fQWRtaW5BcHByb3ZlZCI6dHJ1ZSwiZXh0ZW5zaW9uX0N1c3RvbWVyQ29kZSI6IkpDMDEiLCJleHRlbnNpb25fQ3VzdG9tZXJMZXZlbCI6IjEiLCJlbWFpbHMiOlsiMTNwZnQxM0BnbWFpbC5jb20iXSwidGZwIjoiQjJDXzFfUk9QQ19BdXRoIiwiYXpwIjoiZTA4ZTU0ZmYtNWJiMS00YWU3LWFmZGUtYjljZGM4ZmEyM2FlIiwidmVyIjoiMS4wIiwiaWF0IjoxNjkyNDI0NTg5LCJhdWQiOiJlMDhlNTRmZi01YmIxLTRhZTctYWZkZS1iOWNkYzhmYTIzYWUiLCJleHAiOjE2OTI1MTA5ODksImlzcyI6Imh0dHBzOi8vc29sdW1iMmMuYjJjbG9naW4uY29tL2IwYzhlM2Q5LTA4ZmEtNDg3YS1hZmYxLTg1YmFlMTFmYzZjNS92Mi4wLyIsIm5iZiI6MTY5MjQyNDU4OX0.Zd_GeM7C8p03XKMH8gpo3QjeADeY6CW7t3ZLUA3V9NeF6sgHuf_nZGuT46L_9eca1JcbmrIZK1KbCyfVScSaRXhgQ71r627bC05NcJcxNHnsUGSBtihngLvegSNiyC_i7uARyIyEumYasMIUAyuHzVg5PrAyokgb_nY6WfkL2_6yyK5yHf1uNmEZkY-Kq_C4qhn_uplc3KWhXyLwKC_9dDT6ZF0_kBPowok87tAThH4VZNniWcxcTABHEMD9aNeIsCr9axUwU_J9yuMgF9OtKkTWZkWrvLcc8sEKYbGfyvxhtQ2AzyOHKg8re32S5YEVgvTcXVyFng5gIo-_WUm6Zg",Mi=BS[2],$v=250,A0=122;/*! + */function $a(){return $a=Object.assign?Object.assign.bind():function(A){for(var e=1;et};return typeof A=="function"?r.read=A:(r.init=A,r.read=n=>n(r),r.write=(n,i,s)=>i(r,typeof s=="function"?s(n(r)):s)),e&&(r.write=e),r}const hp=A=>"init"in A,Bp=A=>!!A.write,Al=new WeakMap,tE=(A,e)=>{Al.set(A,e),A.catch(()=>{}).finally(()=>Al.delete(A))},pp=(A,e)=>{const t=Al.get(A);t&&(Al.delete(A),t(e))},gp=(A,e)=>{A.status="fulfilled",A.value=e},wp=(A,e)=>{A.status="rejected",A.reason=e},rE=A=>typeof(A==null?void 0:A.then)=="function",Ho=(A,e)=>"v"in A&&"v"in e&&Object.is(A.v,e.v),mp=(A,e)=>"e"in A&&"e"in e&&Object.is(A.e,e.e),Oi=A=>"v"in A&&A.v instanceof Promise,nE=(A,e)=>"v"in A&&"v"in e&&A.v.orig&&A.v.orig===e.v.orig,xo=A=>{if("e"in A)throw A.e;return A.v},iE=()=>{const A=new WeakMap,e=new WeakMap,t=new Map;let r,n;const i=v=>A.get(v),s=(v,E)=>{const H=A.get(v);if(A.set(v,E),t.has(v)||t.set(v,H),H&&Oi(H)){const b="v"in E?E.v instanceof Promise?E.v:Promise.resolve(E.v):Promise.reject(E.e);pp(H.v,b)}},o=(v,E,H)=>{const b=new Map;let T=!1;H.forEach((x,N)=>{!x&&N===v&&(x=E),x&&(b.set(N,x),E.d.get(N)!==x&&(T=!0))}),(T||E.d.size!==b.size)&&(E.d=b)},a=(v,E,H)=>{const b=i(v),T={d:(b==null?void 0:b.d)||new Map,v:E};if(H&&o(v,T,H),b&&Ho(b,T)&&b.d===T.d)return b;if(b&&Oi(b)&&Oi(T)&&nE(b,T)){if(b.d===T.d)return b;T.v=b.v}return s(v,T),T},l=(v,E,H,b)=>{if(rE(E)){let T;const x=new Promise((N,$)=>{let eA=!1;E.then(W=>{if(!eA){eA=!0;const M=i(v),V=a(v,x,H);gp(x,W),N(W),(M==null?void 0:M.d)!==V.d&&C(v,V,M==null?void 0:M.d)}},W=>{if(!eA){eA=!0;const M=i(v),V=a(v,x,H);wp(x,W),$(W),(M==null?void 0:M.d)!==V.d&&C(v,V,M==null?void 0:M.d)}}),T=W=>{eA||(eA=!0,W.then(M=>gp(x,M),M=>wp(x,M)),N(W))}});return x.orig=E,x.status="pending",tE(x,N=>{N&&T(N),b==null||b()}),a(v,x,H)}return a(v,E,H)},u=(v,E,H)=>{const b=i(v),T={d:(b==null?void 0:b.d)||new Map,e:E};return H&&o(v,T,H),b&&mp(b,T)&&b.d===T.d?b:(s(v,T),T)},c=(v,E)=>{const H=i(v);if(!E&&H&&(e.has(v)||Array.from(H.d).every(([W,M])=>W===v||c(W)===M)))return H;const b=new Map;let T=!0;const x=W=>{if(W===v){const V=i(W);if(V)return b.set(W,V),xo(V);if(hp(W))return b.set(W,void 0),W.init;throw new Error("no atom init")}const M=c(W);return b.set(W,M),xo(M)};let N,$;const eA={get signal(){return N||(N=new AbortController),N.signal},get setSelf(){return!$&&Bp(v)&&($=(...W)=>{if(!T)return d(v,...W)}),$}};try{const W=v.read(x,eA);return l(v,W,b,()=>N==null?void 0:N.abort())}catch(W){return u(v,W,b)}finally{T=!1}},f=v=>xo(c(v)),g=v=>{let E=e.get(v);return E||(E=w(v)),E},B=(v,E)=>!E.l.size&&(!E.t.size||E.t.size===1&&E.t.has(v)),m=v=>{const E=e.get(v);E&&B(v,E)&&h(v)},S=v=>{const E=new Map,H=new WeakMap,b=x=>{const N=e.get(x);N==null||N.t.forEach($=>{$!==x&&(E.set($,(E.get($)||new Set).add(x)),H.set($,(H.get($)||0)+1),b($))})};b(v);const T=x=>{const N=e.get(x);N==null||N.t.forEach($=>{var eA;if($!==x){let W=H.get($);if(W&&H.set($,--W),!W){let M=!!((eA=E.get($))!=null&&eA.size);if(M){const V=i($),q=c($,!0);M=!V||!Ho(V,q)}M||E.forEach(V=>V.delete($))}T($)}})};T(v)},p=(v,...E)=>{let H=!0;const b=N=>xo(c(N)),T=(N,...$)=>{let eA;if(N===v){if(!hp(N))throw new Error("atom not writable");const W=i(N),M=l(N,$[0]);(!W||!Ho(W,M))&&S(N)}else eA=p(N,...$);if(!H){const W=y()}return eA},x=v.write(b,T,...E);return H=!1,x},d=(v,...E)=>{const H=p(v,...E),b=y();return H},w=(v,E)=>{var H;(H=i(v))==null||H.d.forEach((T,x)=>{const N=e.get(x);N?N.t.add(v):x!==v&&w(x,v)}),c(v);const b={t:new Set(E&&[E]),l:new Set};if(e.set(v,b),Bp(v)&&v.onMount){const T=v.onMount((...x)=>d(v,...x));T&&(b.u=T)}return b},h=v=>{var E;const H=(E=e.get(v))==null?void 0:E.u;H&&H(),e.delete(v);const b=i(v);b&&(Oi(b)&&pp(b.v),b.d.forEach((T,x)=>{if(x!==v){const N=e.get(x);N&&(N.t.delete(v),B(x,N)&&h(x))}}))},C=(v,E,H)=>{const b=new Set(E.d.keys());H==null||H.forEach((T,x)=>{if(b.has(x)){b.delete(x);return}const N=e.get(x);N&&(N.t.delete(v),B(x,N)&&h(x))}),b.forEach(T=>{const x=e.get(T);x?x.t.add(v):e.has(v)&&w(T,v)})},y=()=>{let v;for(;t.size;){const E=Array.from(t);t.clear(),E.forEach(([H,b])=>{const T=i(H);if(T){T.d!==(b==null?void 0:b.d)&&C(H,T,b==null?void 0:b.d);const x=e.get(H);x&&!(b&&!Oi(b)&&(Ho(b,T)||mp(b,T)))&&x.l.forEach(N=>N())}})}};return{get:f,set:d,sub:(v,E)=>{const H=g(v),b=y(),T=H.l;return T.add(E),()=>{T.delete(E),m(v)}}}};let Wu;const sE=()=>(Wu||(Wu=iE()),Wu),oE=K.createContext(void 0),Ov=A=>{const e=K.useContext(oE);return(A==null?void 0:A.store)||e||sE()},aE=A=>typeof(A==null?void 0:A.then)=="function",lE=TA.use||(A=>{if(A.status==="pending")throw A;if(A.status==="fulfilled")return A.value;throw A.status==="rejected"?A.reason:(A.status="pending",A.then(e=>{A.status="fulfilled",A.value=e},e=>{A.status="rejected",A.reason=e}),A)});function uE(A,e){const t=Ov(e),[[r,n,i],s]=K.useReducer(l=>{const u=t.get(A);return Object.is(l[0],u)&&l[1]===t&&l[2]===A?l:[u,t,A]},void 0,()=>[t.get(A),t,A]);let o=r;(n!==t||i!==A)&&(s(),o=t.get(A));const a=e==null?void 0:e.delay;return K.useEffect(()=>{const l=t.sub(A,()=>{if(typeof a=="number"){setTimeout(s,a);return}s()});return s(),l},[t,A,a]),K.useDebugValue(o),aE(o)?lE(o):o}function cE(A,e){const t=Ov(e);return K.useCallback((...n)=>t.set(A,...n),[t,A])}function be(A,e){return[uE(A,e),cE(A,e)]}const fE=Symbol();function dE(A){const e=Pl(A,(t,r,n)=>{const i=typeof n=="function"?n(t(e)):n;r(e,i===fE?A:i)});return e}const ah=dE({}),hE=A=>{try{const e=window.localStorage.getItem(A);return e?JSON.parse(e):!1}catch(e){return console.error(e),!1}},BE=(A,e)=>{try{const t=JSON.stringify(e);return window.localStorage.setItem(A,t),!0}catch(t){return console.error(t),!1}},pE=A=>{try{return window.localStorage.removeItem(A),!0}catch(e){return console.error(e),!1}};var _r=(A=>(A.home="/",A.login="/login",A.setting="/setting",A.preview="/preview",A.schedule="/schedule",A.event="/event",A))(_r||{});const gE=()=>{const[,A]=be(ah),e=Kr();K.useEffect(()=>{const t=hE("user");if(!t){e(_r.login);return}A({...t})},[])},hi=Pl({}),lh=Pl({}),bv=Pl(!1),Mv="https://junction-asia-2023.github.io/just-label/svg/logo.svg",wE="https://junction-asia-2023.github.io/just-label/svg/back.svg",mE=()=>{const[{title:A,back:e}]=be(hi),t=Kr(),r=()=>{t(-1)};return A?Q.jsxs("div",{className:"layout-title under-line",children:[Q.jsx("div",{className:`left ${e?"has":""}`,children:e&&Q.jsx("img",{src:wE,alt:"Back Logo",onClick:r})}),Q.jsx("div",{className:"title",children:A==="CardMe"?Q.jsx("div",{className:"logo",children:Q.jsx("img",{className:"logo",src:Mv,alt:"logo"})}):A}),Q.jsx("div",{className:"left"})]}):Q.jsx("div",{className:"layout-title"})},vE="https://junction-asia-2023.github.io/just-label/svg/add.svg",CE=()=>{const[{text:A,add:e}]=be(lh),[,t]=be(bv);return A?Q.jsx("div",{className:"layout-bottom",children:Q.jsxs("div",{className:"layout-bottom-btn",onClick:()=>t(!0),children:[Q.jsx("div",{className:"left",children:e&&Q.jsx("img",{src:vE,alt:"Add Logo",width:20,height:20})}),Q.jsx("div",{className:"title",children:A}),Q.jsx("div",{className:"left"})]})}):Q.jsx("div",{className:"layout-bottom"})},yE=()=>(gE(),Q.jsxs("div",{className:"layout-container",children:[Q.jsx(mE,{}),Q.jsx(JU,{}),Q.jsx(CE,{})]})),QE=()=>{const[,A]=be(hi);K.useLayoutEffect(()=>{A({title:"CardMe"})},[])},FE=()=>{const[{email:A,profileImage:e,department:t,name:r,position:n}]=be(ah);return Q.jsxs("section",{className:"profile-box",children:[Q.jsx("div",{className:"image-box",children:Q.jsx("img",{className:"image",src:e,alt:"profile"})}),Q.jsxs("div",{className:"list-box",children:[Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Name"}),Q.jsx("div",{className:"description",children:r})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Department"}),Q.jsx("div",{className:"description",children:t})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Email"}),Q.jsx("div",{className:"description",children:A})]}),Q.jsxs("div",{className:"list",children:[Q.jsx("div",{className:"name",children:"Position"}),Q.jsx("div",{className:"description",children:n})]})]})]})};const UE="https://junction-asia-2023.github.io/just-label/svg/active.svg",Nl="https://junction-asia-2023.github.io/just-label/svg/right.svg",EE=()=>{const A=Kr(),e=()=>A(_r.setting);return Q.jsxs("section",{className:"active-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:UE,alt:"active icon"})}),Q.jsxs("div",{className:"content",children:[Q.jsx("div",{className:"title",children:"Active"}),Q.jsx("div",{className:"description",children:"Expressing myself"})]}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},vp=()=>Q.jsx("div",{className:"gray-bar"}),SE="https://junction-asia-2023.github.io/just-label/svg/preview.svg",IE=()=>{const A=Kr(),e=()=>A(_r.preview);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:SE,alt:"preview icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"CardMe Preview"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},HE="https://junction-asia-2023.github.io/just-label/svg/schedule.svg",xE=()=>{const A=Kr(),e=()=>A(_r.schedule);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:HE,alt:"schedule icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"Schedule"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},LE="https://junction-asia-2023.github.io/just-label/svg/event.svg",DE=()=>{const A=Kr(),e=()=>A(_r.event);return Q.jsxs("section",{className:"preview-box",onClick:e,children:[Q.jsx("div",{className:"icon-box",children:Q.jsx("img",{className:"icon",src:LE,alt:"event icon"})}),Q.jsx("div",{className:"content",children:Q.jsx("div",{className:"title",children:"Event"})}),Q.jsx("div",{children:Q.jsx("img",{src:Nl,alt:"next"})})]})},TE=()=>{const A=()=>{};return Q.jsx("div",{className:"footer-box",children:Q.jsx("div",{className:"description",onClick:A,children:"Do you need to modify information?"})})},RE=()=>(QE(),Q.jsxs("div",{className:"home-container",children:[Q.jsx(FE,{}),Q.jsx(vp,{}),Q.jsx(EE,{}),Q.jsx(IE,{}),Q.jsx(vp,{}),Q.jsx(xE,{}),Q.jsx(DE,{}),Q.jsx(TE,{})]}));var Ys=A=>A.type==="checkbox",Vn=A=>A instanceof Date,Ee=A=>A==null;const Kv=A=>typeof A=="object";var Ae=A=>!Ee(A)&&!Array.isArray(A)&&Kv(A)&&!Vn(A),_v=A=>Ae(A)&&A.target?Ys(A.target)?A.target.checked:A.target.value:A,OE=A=>A.substring(0,A.search(/\.\d+(\.|$)/))||A,Pv=(A,e)=>A.has(OE(e)),bE=A=>{const e=A.constructor&&A.constructor.prototype;return Ae(e)&&e.hasOwnProperty("isPrototypeOf")},uh=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ft(A){let e;const t=Array.isArray(A);if(A instanceof Date)e=new Date(A);else if(A instanceof Set)e=new Set(A);else if(!(uh&&(A instanceof Blob||A instanceof FileList))&&(t||Ae(A)))if(e=t?[]:{},!t&&!bE(A))e=A;else for(const r in A)A.hasOwnProperty(r)&&(e[r]=Ft(A[r]));else return A;return e}var Zs=A=>Array.isArray(A)?A.filter(Boolean):[],jA=A=>A===void 0,z=(A,e,t)=>{if(!e||!Ae(A))return t;const r=Zs(e.split(/[,[\].]+?/)).reduce((n,i)=>Ee(n)?n:n[i],A);return jA(r)||r===A?jA(A[e])?t:A[e]:r};const el={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},pt={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Kt={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},ME=TA.createContext(null),ch=()=>TA.useContext(ME);var Nv=(A,e,t,r=!0)=>{const n={defaultValues:e._defaultValues};for(const i in A)Object.defineProperty(n,i,{get:()=>{const s=i;return e._proxyFormState[s]!==pt.all&&(e._proxyFormState[s]=!r||pt.all),t&&(t[s]=!0),A[s]}});return n},ze=A=>Ae(A)&&!Object.keys(A).length,kv=(A,e,t,r)=>{t(A);const{name:n,...i}=A;return ze(i)||Object.keys(i).length>=Object.keys(e).length||Object.keys(i).find(s=>e[s]===(!r||pt.all))},Ba=A=>Array.isArray(A)?A:[A],Vv=(A,e,t)=>t&&e?A===e:!A||!e||A===e||Ba(A).some(r=>r&&(r.startsWith(e)||e.startsWith(r)));function fh(A){const e=TA.useRef(A);e.current=A,TA.useEffect(()=>{const t=!A.disabled&&e.current.subject&&e.current.subject.subscribe({next:e.current.next});return()=>{t&&t.unsubscribe()}},[A.disabled])}function KE(A){const e=ch(),{control:t=e.control,disabled:r,name:n,exact:i}=A||{},[s,o]=TA.useState(t._formState),a=TA.useRef(!0),l=TA.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=TA.useRef(n);return u.current=n,fh({disabled:r,next:c=>a.current&&Vv(u.current,c.name,i)&&kv(c,l.current,t._updateFormState)&&o({...t._formState,...c}),subject:t._subjects.state}),TA.useEffect(()=>(a.current=!0,l.current.isValid&&t._updateValid(!0),()=>{a.current=!1}),[t]),Nv(s,t,l.current,!1)}var Et=A=>typeof A=="string",Gv=(A,e,t,r,n)=>Et(A)?(r&&e.watch.add(A),z(t,A,n)):Array.isArray(A)?A.map(i=>(r&&e.watch.add(i),z(t,i))):(r&&(e.watchAll=!0),t);function _E(A){const e=ch(),{control:t=e.control,name:r,defaultValue:n,disabled:i,exact:s}=A||{},o=TA.useRef(r);o.current=r,fh({disabled:i,subject:t._subjects.values,next:u=>{Vv(o.current,u.name,s)&&l(Ft(Gv(o.current,t._names,u.values||t._formValues,!1,n)))}});const[a,l]=TA.useState(t._getWatch(r,n));return TA.useEffect(()=>t._removeUnmounted()),a}var dh=A=>/^\w*$/.test(A),jv=A=>Zs(A.replace(/["|']|\]/g,"").split(/\.|\[/));function FA(A,e,t){let r=-1;const n=dh(e)?[e]:jv(e),i=n.length,s=i-1;for(;++r{const l=r._options.shouldUnregister||n,u=(c,f)=>{const g=z(r._fields,c);g&&(g._f.mount=f)};if(u(t,!0),l){const c=Ft(z(r._options.defaultValues,t));FA(r._defaultValues,t,c),jA(z(r._formValues,t))&&FA(r._formValues,t,c)}return()=>{(i?l&&!r._state.action:l)?r.unregister(t):u(t,!1)}},[t,r,i,n]),{field:{name:t,value:s,onChange:TA.useCallback(l=>a.current.onChange({target:{value:_v(l),name:t},type:el.CHANGE}),[t]),onBlur:TA.useCallback(()=>a.current.onBlur({target:{value:z(r._formValues,t),name:t},type:el.BLUR}),[t,r]),ref:l=>{const u=z(r._fields,t);u&&l&&(u._f.ref={focus:()=>l.focus(),select:()=>l.select(),setCustomValidity:c=>l.setCustomValidity(c),reportValidity:()=>l.reportValidity()})}},formState:o,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!z(o.errors,t)},isDirty:{enumerable:!0,get:()=>!!z(o.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!z(o.touchedFields,t)},error:{enumerable:!0,get:()=>z(o.errors,t)}})}}const NE=A=>A.render(PE(A));var kE=(A,e,t,r,n)=>e?{...t[A],types:{...t[A]&&t[A].types?t[A].types:{},[r]:n||!0}}:{};const If=(A,e,t)=>{for(const r of t||Object.keys(A)){const n=z(A,r);if(n){const{_f:i,...s}=n;if(i&&e(i.name)){if(i.ref.focus){i.ref.focus();break}else if(i.refs&&i.refs[0].focus){i.refs[0].focus();break}}else Ae(s)&&If(s,e)}}};var Cp=A=>({isOnSubmit:!A||A===pt.onSubmit,isOnBlur:A===pt.onBlur,isOnChange:A===pt.onChange,isOnAll:A===pt.all,isOnTouch:A===pt.onTouched}),yp=(A,e,t)=>!t&&(e.watchAll||e.watch.has(A)||[...e.watch].some(r=>A.startsWith(r)&&/^\.\w+/.test(A.slice(r.length)))),VE=(A,e,t)=>{const r=Zs(z(A,t));return FA(r,"root",e[t]),FA(A,t,r),A},qn=A=>typeof A=="boolean",hh=A=>A.type==="file",gr=A=>typeof A=="function",tl=A=>{if(!uh)return!1;const e=A?A.ownerDocument:0;return A instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},pa=A=>Et(A),Bh=A=>A.type==="radio",rl=A=>A instanceof RegExp;const Qp={value:!1,isValid:!1},Fp={value:!0,isValid:!0};var Wv=A=>{if(Array.isArray(A)){if(A.length>1){const e=A.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:e,isValid:!!e.length}}return A[0].checked&&!A[0].disabled?A[0].attributes&&!jA(A[0].attributes.value)?jA(A[0].value)||A[0].value===""?Fp:{value:A[0].value,isValid:!0}:Fp:Qp}return Qp};const Up={isValid:!1,value:null};var zv=A=>Array.isArray(A)?A.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Up):Up;function Ep(A,e,t="validate"){if(pa(A)||Array.isArray(A)&&A.every(pa)||qn(A)&&!A)return{type:t,message:pa(A)?A:"",ref:e}}var mn=A=>Ae(A)&&!rl(A)?A:{value:A,message:""},Sp=async(A,e,t,r,n)=>{const{ref:i,refs:s,required:o,maxLength:a,minLength:l,min:u,max:c,pattern:f,validate:g,name:B,valueAsNumber:m,mount:S,disabled:p}=A._f,d=z(e,B);if(!S||p)return{};const w=s?s[0]:i,h=T=>{r&&w.reportValidity&&(w.setCustomValidity(qn(T)?"":T||""),w.reportValidity())},C={},y=Bh(i),U=Ys(i),v=y||U,E=(m||hh(i))&&jA(i.value)&&jA(d)||tl(i)&&i.value===""||d===""||Array.isArray(d)&&!d.length,H=kE.bind(null,B,t,C),b=(T,x,N,$=Kt.maxLength,eA=Kt.minLength)=>{const W=T?x:N;C[B]={type:T?$:eA,message:W,ref:i,...H(T?$:eA,W)}};if(n?!Array.isArray(d)||!d.length:o&&(!v&&(E||Ee(d))||qn(d)&&!d||U&&!Wv(s).isValid||y&&!zv(s).isValid)){const{value:T,message:x}=pa(o)?{value:!!o,message:o}:mn(o);if(T&&(C[B]={type:Kt.required,message:x,ref:w,...H(Kt.required,x)},!t))return h(x),C}if(!E&&(!Ee(u)||!Ee(c))){let T,x;const N=mn(c),$=mn(u);if(!Ee(d)&&!isNaN(d)){const eA=i.valueAsNumber||d&&+d;Ee(N.value)||(T=eA>N.value),Ee($.value)||(x=eA<$.value)}else{const eA=i.valueAsDate||new Date(d),W=q=>new Date(new Date().toDateString()+" "+q),M=i.type=="time",V=i.type=="week";Et(N.value)&&d&&(T=M?W(d)>W(N.value):V?d>N.value:eA>new Date(N.value)),Et($.value)&&d&&(x=M?W(d)+T.value,$=!Ee(x.value)&&d.length<+x.value;if((N||$)&&(b(N,T.message,x.message),!t))return h(C[B].message),C}if(f&&!E&&Et(d)){const{value:T,message:x}=mn(f);if(rl(T)&&!d.match(T)&&(C[B]={type:Kt.pattern,message:x,ref:i,...H(Kt.pattern,x)},!t))return h(x),C}if(g){if(gr(g)){const T=await g(d,e),x=Ep(T,w);if(x&&(C[B]={...x,...H(Kt.validate,x.message)},!t))return h(x.message),C}else if(Ae(g)){let T={};for(const x in g){if(!ze(T)&&!t)break;const N=Ep(await g[x](d,e),w,x);N&&(T={...N,...H(x,N.message)},h(N.message),t&&(C[B]=T))}if(!ze(T)&&(C[B]={ref:w,...T},!t))return C}}return h(!0),C};function GE(A,e){const t=e.slice(0,-1).length;let r=0;for(;r{for(const i of A)i.next&&i.next(n)},subscribe:n=>(A.push(n),{unsubscribe:()=>{A=A.filter(i=>i!==n)}}),unsubscribe:()=>{A=[]}}}var nl=A=>Ee(A)||!Kv(A);function An(A,e){if(nl(A)||nl(e))return A===e;if(Vn(A)&&Vn(e))return A.getTime()===e.getTime();const t=Object.keys(A),r=Object.keys(e);if(t.length!==r.length)return!1;for(const n of t){const i=A[n];if(!r.includes(n))return!1;if(n!=="ref"){const s=e[n];if(Vn(i)&&Vn(s)||Ae(i)&&Ae(s)||Array.isArray(i)&&Array.isArray(s)?!An(i,s):i!==s)return!1}}return!0}var Xv=A=>A.type==="select-multiple",WE=A=>Bh(A)||Ys(A),Xu=A=>tl(A)&&A.isConnected,Jv=A=>{for(const e in A)if(gr(A[e]))return!0;return!1};function il(A,e={}){const t=Array.isArray(A);if(Ae(A)||t)for(const r in A)Array.isArray(A[r])||Ae(A[r])&&!Jv(A[r])?(e[r]=Array.isArray(A[r])?[]:{},il(A[r],e[r])):Ee(A[r])||(e[r]=!0);return e}function Yv(A,e,t){const r=Array.isArray(A);if(Ae(A)||r)for(const n in A)Array.isArray(A[n])||Ae(A[n])&&!Jv(A[n])?jA(e)||nl(t[n])?t[n]=Array.isArray(A[n])?il(A[n],[]):{...il(A[n])}:Yv(A[n],Ee(e)?{}:e[n],t[n]):t[n]=!An(A[n],e[n]);return t}var Ju=(A,e)=>Yv(A,e,il(e)),Zv=(A,{valueAsNumber:e,valueAsDate:t,setValueAs:r})=>jA(A)?A:e?A===""?NaN:A&&+A:t&&Et(A)?new Date(A):r?r(A):A;function Yu(A){const e=A.ref;if(!(A.refs?A.refs.every(t=>t.disabled):e.disabled))return hh(e)?e.files:Bh(e)?zv(A.refs).value:Xv(e)?[...e.selectedOptions].map(({value:t})=>t):Ys(e)?Wv(A.refs).value:Zv(jA(e.value)?A.ref.value:e.value,A)}var zE=(A,e,t,r)=>{const n={};for(const i of A){const s=z(e,i);s&&FA(n,i,s._f)}return{criteriaMode:t,names:[...A],fields:n,shouldUseNativeValidation:r}},bi=A=>jA(A)?A:rl(A)?A.source:Ae(A)?rl(A.value)?A.value.source:A.value:A,XE=A=>A.mount&&(A.required||A.min||A.max||A.maxLength||A.minLength||A.pattern||A.validate);function Ip(A,e,t){const r=z(A,t);if(r||dh(t))return{error:r,name:t};const n=t.split(".");for(;n.length;){const i=n.join("."),s=z(e,i),o=z(A,i);if(s&&!Array.isArray(s)&&t!==i)return{name:t};if(o&&o.type)return{name:i,error:o};n.pop()}return{name:t}}var JE=(A,e,t,r,n)=>n.isOnAll?!1:!t&&n.isOnTouch?!(e||A):(t?r.isOnBlur:n.isOnBlur)?!A:(t?r.isOnChange:n.isOnChange)?A:!0,YE=(A,e)=>!Zs(z(A,e)).length&&ae(A,e);const ZE={mode:pt.onSubmit,reValidateMode:pt.onChange,shouldFocusError:!0};function qE(A={},e){let t={...ZE,...A},r={submitCount:0,isDirty:!1,isLoading:gr(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},n={},i=Ae(t.defaultValues)||Ae(t.values)?Ft(t.defaultValues||t.values)||{}:{},s=t.shouldUnregister?{}:Ft(i),o={action:!1,mount:!1,watch:!1},a={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,u=0;const c={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={values:zu(),array:zu(),state:zu()},g=A.resetOptions&&A.resetOptions.keepDirtyValues,B=Cp(t.mode),m=Cp(t.reValidateMode),S=t.criteriaMode===pt.all,p=F=>D=>{clearTimeout(u),u=setTimeout(F,D)},d=async F=>{if(c.isValid||F){const D=t.resolver?ze((await E()).errors):await b(n,!0);D!==r.isValid&&f.state.next({isValid:D})}},w=F=>c.isValidating&&f.state.next({isValidating:F}),h=(F,D=[],O,Z,G=!0,k=!0)=>{if(Z&&O){if(o.action=!0,k&&Array.isArray(z(n,F))){const tA=O(z(n,F),Z.argA,Z.argB);G&&FA(n,F,tA)}if(k&&Array.isArray(z(r.errors,F))){const tA=O(z(r.errors,F),Z.argA,Z.argB);G&&FA(r.errors,F,tA),YE(r.errors,F)}if(c.touchedFields&&k&&Array.isArray(z(r.touchedFields,F))){const tA=O(z(r.touchedFields,F),Z.argA,Z.argB);G&&FA(r.touchedFields,F,tA)}c.dirtyFields&&(r.dirtyFields=Ju(i,s)),f.state.next({name:F,isDirty:x(F,D),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else FA(s,F,D)},C=(F,D)=>{FA(r.errors,F,D),f.state.next({errors:r.errors})},y=(F,D,O,Z)=>{const G=z(n,F);if(G){const k=z(s,F,jA(O)?z(i,F):O);jA(k)||Z&&Z.defaultChecked||D?FA(s,F,D?k:Yu(G._f)):eA(F,k),o.mount&&d()}},U=(F,D,O,Z,G)=>{let k=!1,tA=!1;const SA={name:F};if(!O||Z){c.isDirty&&(tA=r.isDirty,r.isDirty=SA.isDirty=x(),k=tA!==SA.isDirty);const RA=An(z(i,F),D);tA=z(r.dirtyFields,F),RA?ae(r.dirtyFields,F):FA(r.dirtyFields,F,!0),SA.dirtyFields=r.dirtyFields,k=k||c.dirtyFields&&tA!==!RA}if(O){const RA=z(r.touchedFields,F);RA||(FA(r.touchedFields,F,O),SA.touchedFields=r.touchedFields,k=k||c.touchedFields&&RA!==O)}return k&&G&&f.state.next(SA),k?SA:{}},v=(F,D,O,Z)=>{const G=z(r.errors,F),k=c.isValid&&qn(D)&&r.isValid!==D;if(A.delayError&&O?(l=p(()=>C(F,O)),l(A.delayError)):(clearTimeout(u),l=null,O?FA(r.errors,F,O):ae(r.errors,F)),(O?!An(G,O):G)||!ze(Z)||k){const tA={...Z,...k&&qn(D)?{isValid:D}:{},errors:r.errors,name:F};r={...r,...tA},f.state.next(tA)}w(!1)},E=async F=>t.resolver(s,t.context,zE(F||a.mount,n,t.criteriaMode,t.shouldUseNativeValidation)),H=async F=>{const{errors:D}=await E();if(F)for(const O of F){const Z=z(D,O);Z?FA(r.errors,O,Z):ae(r.errors,O)}else r.errors=D;return D},b=async(F,D,O={valid:!0})=>{for(const Z in F){const G=F[Z];if(G){const{_f:k,...tA}=G;if(k){const SA=a.array.has(k.name),RA=await Sp(G,s,S,t.shouldUseNativeValidation&&!D,SA);if(RA[k.name]&&(O.valid=!1,D))break;!D&&(z(RA,k.name)?SA?VE(r.errors,RA,k.name):FA(r.errors,k.name,RA[k.name]):ae(r.errors,k.name))}tA&&await b(tA,D,O)}}return O.valid},T=()=>{for(const F of a.unMount){const D=z(n,F);D&&(D._f.refs?D._f.refs.every(O=>!Xu(O)):!Xu(D._f.ref))&&PA(F)}a.unMount=new Set},x=(F,D)=>(F&&D&&FA(s,F,D),!An(dA(),i)),N=(F,D,O)=>Gv(F,a,{...o.mount?s:jA(D)?i:Et(F)?{[F]:D}:D},O,D),$=F=>Zs(z(o.mount?s:i,F,A.shouldUnregister?z(i,F,[]):[])),eA=(F,D,O={})=>{const Z=z(n,F);let G=D;if(Z){const k=Z._f;k&&(!k.disabled&&FA(s,F,Zv(D,k)),G=tl(k.ref)&&Ee(D)?"":D,Xv(k.ref)?[...k.ref.options].forEach(tA=>tA.selected=G.includes(tA.value)):k.refs?Ys(k.ref)?k.refs.length>1?k.refs.forEach(tA=>(!tA.defaultChecked||!tA.disabled)&&(tA.checked=Array.isArray(G)?!!G.find(SA=>SA===tA.value):G===tA.value)):k.refs[0]&&(k.refs[0].checked=!!G):k.refs.forEach(tA=>tA.checked=tA.value===G):hh(k.ref)?k.ref.value="":(k.ref.value=G,k.ref.type||f.values.next({name:F,values:{...s}})))}(O.shouldDirty||O.shouldTouch)&&U(F,G,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&q(F)},W=(F,D,O)=>{for(const Z in D){const G=D[Z],k=`${F}.${Z}`,tA=z(n,k);(a.array.has(F)||!nl(G)||tA&&!tA._f)&&!Vn(G)?W(k,G,O):eA(k,G,O)}},M=(F,D,O={})=>{const Z=z(n,F),G=a.array.has(F),k=Ft(D);FA(s,F,k),G?(f.array.next({name:F,values:{...s}}),(c.isDirty||c.dirtyFields)&&O.shouldDirty&&f.state.next({name:F,dirtyFields:Ju(i,s),isDirty:x(F,k)})):Z&&!Z._f&&!Ee(k)?W(F,k,O):eA(F,k,O),yp(F,a)&&f.state.next({...r}),f.values.next({name:F,values:{...s}}),!o.mount&&e()},V=async F=>{const D=F.target;let O=D.name,Z=!0;const G=z(n,O),k=()=>D.type?Yu(G._f):_v(F);if(G){let tA,SA;const RA=k(),Ot=F.type===el.BLUR||F.type===el.FOCUS_OUT,pn=!XE(G._f)&&!t.resolver&&!z(r.errors,O)&&!G._f.deps||JE(Ot,z(r.touchedFields,O),r.isSubmitted,m,B),gn=yp(O,a,Ot);FA(s,O,RA),Ot?(G._f.onBlur&&G._f.onBlur(F),l&&l(0)):G._f.onChange&&G._f.onChange(F);const Pr=U(O,RA,Ot,!1),lu=!ze(Pr)||gn;if(!Ot&&f.values.next({name:O,type:F.type,values:{...s}}),pn)return c.isValid&&d(),lu&&f.state.next({name:O,...gn?{}:Pr});if(!Ot&&gn&&f.state.next({...r}),w(!0),t.resolver){const{errors:mi}=await E([O]),uu=Ip(r.errors,n,O),vi=Ip(mi,n,uu.name||O);tA=vi.error,O=vi.name,SA=ze(mi)}else tA=(await Sp(G,s,S,t.shouldUseNativeValidation))[O],Z=isNaN(RA)||RA===z(s,O,RA),Z&&(tA?SA=!1:c.isValid&&(SA=await b(n,!0)));Z&&(G._f.deps&&q(G._f.deps),v(O,SA,tA,Pr))}},q=async(F,D={})=>{let O,Z;const G=Ba(F);if(w(!0),t.resolver){const k=await H(jA(F)?F:G);O=ze(k),Z=F?!G.some(tA=>z(k,tA)):O}else F?(Z=(await Promise.all(G.map(async k=>{const tA=z(n,k);return await b(tA&&tA._f?{[k]:tA}:tA)}))).every(Boolean),!(!Z&&!r.isValid)&&d()):Z=O=await b(n);return f.state.next({...!Et(F)||c.isValid&&O!==r.isValid?{}:{name:F},...t.resolver||!F?{isValid:O}:{},errors:r.errors,isValidating:!1}),D.shouldFocus&&!Z&&If(n,k=>k&&z(r.errors,k),F?G:a.mount),Z},dA=F=>{const D={...i,...o.mount?s:{}};return jA(F)?D:Et(F)?z(D,F):F.map(O=>z(D,O))},pA=(F,D)=>({invalid:!!z((D||r).errors,F),isDirty:!!z((D||r).dirtyFields,F),isTouched:!!z((D||r).touchedFields,F),error:z((D||r).errors,F)}),te=F=>{F&&Ba(F).forEach(D=>ae(r.errors,D)),f.state.next({errors:F?r.errors:{}})},uA=(F,D,O)=>{const Z=(z(n,F,{_f:{}})._f||{}).ref;FA(r.errors,F,{...D,ref:Z}),f.state.next({name:F,errors:r.errors,isValid:!1}),O&&O.shouldFocus&&Z&&Z.focus&&Z.focus()},_A=(F,D)=>gr(F)?f.values.subscribe({next:O=>F(N(void 0,D),O)}):N(F,D,!0),PA=(F,D={})=>{for(const O of F?Ba(F):a.mount)a.mount.delete(O),a.array.delete(O),D.keepValue||(ae(n,O),ae(s,O)),!D.keepError&&ae(r.errors,O),!D.keepDirty&&ae(r.dirtyFields,O),!D.keepTouched&&ae(r.touchedFields,O),!t.shouldUnregister&&!D.keepDefaultValue&&ae(i,O);f.values.next({values:{...s}}),f.state.next({...r,...D.keepDirty?{isDirty:x()}:{}}),!D.keepIsValid&&d()},Be=(F,D={})=>{let O=z(n,F);const Z=qn(D.disabled);return FA(n,F,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:F}},name:F,mount:!0,...D}}),a.mount.add(F),O?Z&&FA(s,F,D.disabled?void 0:z(s,F,Yu(O._f))):y(F,!0,D.value),{...Z?{disabled:D.disabled}:{},...t.progressive?{required:!!D.required,min:bi(D.min),max:bi(D.max),minLength:bi(D.minLength),maxLength:bi(D.maxLength),pattern:bi(D.pattern)}:{},name:F,onChange:V,onBlur:V,ref:G=>{if(G){Be(F,D),O=z(n,F);const k=jA(G.value)&&G.querySelectorAll&&G.querySelectorAll("input,select,textarea")[0]||G,tA=WE(k),SA=O._f.refs||[];if(tA?SA.find(RA=>RA===k):k===O._f.ref)return;FA(n,F,{_f:{...O._f,...tA?{refs:[...SA.filter(Xu),k,...Array.isArray(z(i,F))?[{}]:[]],ref:{type:k.type,name:F}}:{ref:k}}}),y(F,!1,void 0,k)}else O=z(n,F,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||D.shouldUnregister)&&!(Pv(a.array,F)&&o.action)&&a.unMount.add(F)}}},nt=()=>t.shouldFocusError&&If(n,F=>F&&z(r.errors,F),a.mount),so=(F,D)=>async O=>{O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let Z=Ft(s);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:G,values:k}=await E();r.errors=G,Z=k}else await b(n);ae(r.errors,"root"),ze(r.errors)?(f.state.next({errors:{}}),await F(Z,O)):(D&&await D({...r.errors},O),nt(),setTimeout(nt)),f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ze(r.errors),submitCount:r.submitCount+1,errors:r.errors})},au=(F,D={})=>{z(n,F)&&(jA(D.defaultValue)?M(F,z(i,F)):(M(F,D.defaultValue),FA(i,F,D.defaultValue)),D.keepTouched||ae(r.touchedFields,F),D.keepDirty||(ae(r.dirtyFields,F),r.isDirty=D.defaultValue?x(F,z(i,F)):x()),D.keepError||(ae(r.errors,F),c.isValid&&d()),f.state.next({...r}))},wi=(F,D={})=>{const O=F||i,Z=Ft(O),G=F&&!ze(F)?Z:i;if(D.keepDefaultValues||(i=O),!D.keepValues){if(D.keepDirtyValues||g)for(const k of a.mount)z(r.dirtyFields,k)?FA(G,k,z(s,k)):M(k,z(G,k));else{if(uh&&jA(F))for(const k of a.mount){const tA=z(n,k);if(tA&&tA._f){const SA=Array.isArray(tA._f.refs)?tA._f.refs[0]:tA._f.ref;if(tl(SA)){const RA=SA.closest("form");if(RA){RA.reset();break}}}}n={}}s=A.shouldUnregister?D.keepDefaultValues?Ft(i):{}:Ft(G),f.array.next({values:{...G}}),f.values.next({values:{...G}})}a={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!o.mount&&e(),o.mount=!c.isValid||!!D.keepIsValid,o.watch=!!A.shouldUnregister,f.state.next({submitCount:D.keepSubmitCount?r.submitCount:0,isDirty:D.keepDirty?r.isDirty:!!(D.keepDefaultValues&&!An(F,i)),isSubmitted:D.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:D.keepDirtyValues?r.dirtyFields:D.keepDefaultValues&&F?Ju(i,F):{},touchedFields:D.keepTouched?r.touchedFields:{},errors:D.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},oo=(F,D)=>wi(gr(F)?F(s):F,D);return{control:{register:Be,unregister:PA,getFieldState:pA,handleSubmit:so,setError:uA,_executeSchema:E,_getWatch:N,_getDirty:x,_updateValid:d,_removeUnmounted:T,_updateFieldArray:h,_getFieldArray:$,_reset:wi,_resetDefaultValues:()=>gr(t.defaultValues)&&t.defaultValues().then(F=>{oo(F,t.resetOptions),f.state.next({isLoading:!1})}),_updateFormState:F=>{r={...r,...F}},_subjects:f,_proxyFormState:c,get _fields(){return n},get _formValues(){return s},get _state(){return o},set _state(F){o=F},get _defaultValues(){return i},get _names(){return a},set _names(F){a=F},get _formState(){return r},set _formState(F){r=F},get _options(){return t},set _options(F){t={...t,...F}}},trigger:q,register:Be,handleSubmit:so,watch:_A,setValue:M,getValues:dA,reset:oo,resetField:au,clearErrors:te,unregister:PA,setError:uA,setFocus:(F,D={})=>{const O=z(n,F),Z=O&&O._f;if(Z){const G=Z.refs?Z.refs[0]:Z.ref;G.focus&&(G.focus(),D.shouldSelect&&G.select())}},getFieldState:pA}}function qv(A={}){const e=TA.useRef(),t=TA.useRef(),[r,n]=TA.useState({isDirty:!1,isValidating:!1,isLoading:gr(A.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:gr(A.defaultValues)?void 0:A.defaultValues});e.current||(e.current={...qE(A,()=>n(s=>({...s}))),formState:r});const i=e.current.control;return i._options=A,fh({subject:i._subjects.state,next:s=>{kv(s,i._proxyFormState,i._updateFormState,!0)&&n({...i._formState})}}),TA.useEffect(()=>{A.values&&!An(A.values,t.current)?(i._reset(A.values,i._options.resetOptions),t.current=A.values):i._resetDefaultValues()},[A.values,i]),TA.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),e.current.formState=Nv(r,i),e.current}const Zu={name:"Sangchul",profileImage:"https://avatars.githubusercontent.com/u/23524849?v=4",email:"1ilsang@naver.com",companyNo:"JS1234",password:"just",department:"Social Dev1",position:"Software Engineer"},$E=()=>{const[,A]=be(ah),{register:e,handleSubmit:t,formState:{errors:r}}=qv(),n=s=>{if(Zu.email!==s.email||Zu.password!==s.password){alert("'No user information'");return}const o={...Zu};delete o.password,A({...o}),BE("user",o),i(_r.home)},i=Kr();return{errors:r,register:e,handleSubmit:t,onSubmit:n}};const AS=()=>{const{errors:A,register:e,handleSubmit:t,onSubmit:r}=$E();return Q.jsxs("div",{className:"login-container",children:[Q.jsx("img",{src:Mv,alt:"cardme logo"}),Q.jsxs("form",{onSubmit:t(r),children:[Q.jsxs("div",{className:"input-group",children:[Q.jsx("label",{children:"Email"}),Q.jsx("input",{type:"text",placeholder:"Please enter your email",...e("email",{required:!0}),"area-invalid":A.email?"true":"false"})]}),Q.jsxs("div",{className:"input-group",children:[Q.jsx("label",{children:"Password"}),Q.jsx("input",{type:"password",placeholder:"Please enter your password",...e("password",{required:!0}),"aria-invalid":A.password?"true":"false"})]}),(A.email||A.password)&&Q.jsx("div",{children:"Please enter your email or password"}),Q.jsx("a",{href:"#",children:"Forgot your password?"}),A.dataError&&Q.jsx("div",{children:A.dataError.message}),Q.jsx("input",{type:"submit",value:"Login"})]}),Q.jsx("a",{href:"#",children:"Not signed up yet?"})]})},eS=()=>{const{register:A,handleSubmit:e,control:t}=qv({defaultValues:{mude:"",comment:""}}),r=Kr();return{register:A,handleSubmit:e,control:t,onSubmit:s=>console.log(s),handlePreviewClick:()=>{r(_r.preview)}}};const tS=["mood_BAD","mood_GOOD"],rS="What is the Active Setting?",nS="Congratulations on winning! Press the button to get a giftCongratulations on winning! Press the button to get a giftCongratulations on winning!",iS="Word of the day",sS="Word of the Sticker",oS=({handlePreviewClick:A})=>Q.jsxs("div",{className:"setting-preview-container",children:[Q.jsx("div",{className:"setting-preview-title-text",children:rS}),Q.jsx("div",{className:"setting-preview-sub-text",children:nS}),Q.jsx("button",{className:"setting-preview-btn",onClick:A,children:"Preview"})]}),aS="https://junction-asia-2023.github.io/just-label/png/mood_BAD.png",lS="https://junction-asia-2023.github.io/just-label/png/mood_GOOD.png",uS=({control:A})=>Q.jsxs("div",{className:"setting-sticker-container",children:[Q.jsx("span",{className:"setting-sticker-title",children:sS}),Q.jsx(NE,{name:"mude",control:A,rules:{required:!0},render:({field:e})=>Q.jsx("div",{className:"setting-sticker-box",...e,children:tS.map(t=>Q.jsxs("label",{htmlFor:t,className:"setting-sticker-width",children:[Q.jsx("input",{type:"radio",id:t,name:e.name,value:t,checked:e.value===t,onChange:r=>{e.onChange(r.target.value)}}),Q.jsx("img",{src:t==="mood_BAD"?aS:lS,className:"logo react",alt:"React logo"})]},t))})})]}),cS=({register:A})=>Q.jsxs("div",{className:"setting-word-container",children:[Q.jsx("span",{className:"setting-word-title",children:iS}),Q.jsx("input",{className:"setting-word-input",...A("comment")})]}),fS=({handleSubmit:A,onSubmit:e,register:t,control:r})=>{const[n,i]=be(bv),s=K.useRef(null);return K.useEffect(()=>{var o;n&&(i(!1),(o=s.current)==null||o.click())},[n]),Q.jsxs("form",{onSubmit:A(e),children:[Q.jsx(cS,{register:t}),Q.jsx(uS,{control:r}),Q.jsx("input",{ref:s,type:"submit",style:{visibility:"hidden"}})]})},dS=()=>{const[,A]=be(hi),[,e]=be(lh),{handlePreviewClick:t,handleSubmit:r,onSubmit:n,register:i,control:s}=eS();return K.useLayoutEffect(()=>{A({title:"Active",back:!0}),e({text:"Save"})},[]),Q.jsxs("div",{className:"setting-container",children:[Q.jsx(oS,{handlePreviewClick:t}),Q.jsx(fS,{handleSubmit:r,onSubmit:n,register:i,control:s})]})},hS=()=>Q.jsx("div",{children:"Error!"});const BS=()=>{const A=()=>{pE("user"),window.location.reload()};return Q.jsxs("div",{className:"not-found",children:[Q.jsx("span",{children:"404"}),Q.jsx("button",{onClick:A,children:"Go Home"})]})};const pS=()=>Q.jsxs("div",{className:"preview-bottom-text-container",children:[Q.jsx("div",{className:"preview-bottom-title-text",children:"My Profile"}),Q.jsx("div",{className:"preview-bottom-sub-text",children:"My basic information is displayed."})]}),gS=[{labelId:"085C1B1FE1D7",productId:"JC000001",productName:"test_product_1"},{labelId:"085C1B25E1DE",productId:"JC000002",productName:"test_product_2"},{labelId:"085C1B45E1D8",productId:"JC000003",productName:"test_product_3"},{labelId:"085C1B47E1DA",productId:"JC000004",productName:"test_product_4"},{labelId:"085C1B46E1DB",productId:"JC000005",productName:"test_product_5"}],wS="https://stage00.common.solumesl.com/common/api/v2/common/labels/image?company=JC01&store=1111",mS="eyJhbGciOiJSUzI1NiIsImtpZCI6Ilg1ZVhrNHh5b2pORnVtMWtsMll0djhkbE5QNC1jNTdkTzZRR1RWQndhTmsiLCJ0eXAiOiJKV1QifQ.eyJpZHAiOiJMb2NhbEFjY291bnQiLCJvaWQiOiI3ZjViOTAxNy04ZDU0LTQ4OTYtYTZhNi03ZDQxMGM1MmJiMzAiLCJzdWIiOiI3ZjViOTAxNy04ZDU0LTQ4OTYtYTZhNi03ZDQxMGM1MmJiMzAiLCJuYW1lIjoiMTNwZnQxMyIsIm5ld1VzZXIiOmZhbHNlLCJleHRlbnNpb25fQWRtaW5BcHByb3ZlZCI6dHJ1ZSwiZXh0ZW5zaW9uX0N1c3RvbWVyQ29kZSI6IkpDMDEiLCJleHRlbnNpb25fQ3VzdG9tZXJMZXZlbCI6IjEiLCJlbWFpbHMiOlsiMTNwZnQxM0BnbWFpbC5jb20iXSwidGZwIjoiQjJDXzFfUk9QQ19BdXRoIiwiYXpwIjoiZTA4ZTU0ZmYtNWJiMS00YWU3LWFmZGUtYjljZGM4ZmEyM2FlIiwidmVyIjoiMS4wIiwiaWF0IjoxNjkyNDI0NTg5LCJhdWQiOiJlMDhlNTRmZi01YmIxLTRhZTctYWZkZS1iOWNkYzhmYTIzYWUiLCJleHAiOjE2OTI1MTA5ODksImlzcyI6Imh0dHBzOi8vc29sdW1iMmMuYjJjbG9naW4uY29tL2IwYzhlM2Q5LTA4ZmEtNDg3YS1hZmYxLTg1YmFlMTFmYzZjNS92Mi4wLyIsIm5iZiI6MTY5MjQyNDU4OX0.Zd_GeM7C8p03XKMH8gpo3QjeADeY6CW7t3ZLUA3V9NeF6sgHuf_nZGuT46L_9eca1JcbmrIZK1KbCyfVScSaRXhgQ71r627bC05NcJcxNHnsUGSBtihngLvegSNiyC_i7uARyIyEumYasMIUAyuHzVg5PrAyokgb_nY6WfkL2_6yyK5yHf1uNmEZkY-Kq_C4qhn_uplc3KWhXyLwKC_9dDT6ZF0_kBPowok87tAThH4VZNniWcxcTABHEMD9aNeIsCr9axUwU_J9yuMgF9OtKkTWZkWrvLcc8sEKYbGfyvxhtQ2AzyOHKg8re32S5YEVgvTcXVyFng5gIo-_WUm6Zg",Mi=gS[2],$v=250,A0=122;/*! * html2canvas 1.4.1 * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License @@ -90,14 +90,14 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var Hf=function(A,e){return Hf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Hf(A,e)};function vt(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hf(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var xf=function(){return xf=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Hp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Do=0;Do"u"?[]:new Uint8Array(256);for(var To=0;To>4,u[n++]=(s&15)<<4|o>>2,u[n++]=(o&3)<<6|a&63;return l},CS=function(A){for(var e=A.length,t=[],r=0;r>nn,FS=1<>nn,ES=e0+US,SS=ES,IS=32,HS=SS+IS,xS=65536>>ph,LS=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>nn],t=(t<>nn)],t=(t<>ph),t=this.index[t],t+=e>>nn&DS,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Ro=0;RoTp?(n.push(!0),o-=Tp):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),t.push(Tf);if(o===_S||o===Lf){if(s===0)return r.push(s),t.push(zr);var a=t[s-1];return zS.indexOf(a)===-1?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(zr))}if(r.push(s),o===GS)return t.push(e==="strict"?Rf:Ms);if(o===i0||o===VS)return t.push(zr);if(o===jS)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Ms):t.push(zr);t.push(o)}),[r,t,n]},tc=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var s=r[i];if(s===e)return!0;if(s!==wr)break}if(n===wr)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===e)return!0;if(s!==wr)break}if(o!==wr)break}return!1},Pp=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===wr)t--;else return r}return 0},YS=function(A,e,t,r,n){if(t[r]===0)return cA;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return cA;var s=i-1,o=i+1,a=e[i],l=s>=0?e[s]:0,u=e[o];if(a===t0&&u===r0)return cA;if(Pf.indexOf(a)!==-1)return s0;if(Pf.indexOf(u)!==-1||o0.indexOf(u)!==-1)return cA;if(Pp(i,e)===n0)return Ko;if(_f.get(A[i])===Lf||(a===bo||a===Mo)&&_f.get(A[o])===Lf||a===Rp||u===Rp||a===Op||[wr,Df,Ji].indexOf(a)===-1&&u===Op||[Oo,Ki,kS,vn,Cn].indexOf(u)!==-1||Pp(i,e)===_i||tc(Ac,_i,i,e)||tc([Oo,Ki],Rf,i,e)||tc(bp,bp,i,e))return cA;if(a===wr)return Ko;if(a===Ac||u===Ac)return cA;if(u===Tf||a===Tf)return Ko;if([Df,Ji,Rf].indexOf(u)!==-1||a===NS||l===Mf&&XS.indexOf(a)!==-1||a===Cn&&u===Mf||u===Mp||_t.indexOf(u)!==-1&&a===Me||_t.indexOf(a)!==-1&&u===Me||a===Zi&&[Ms,bo,Mo].indexOf(u)!==-1||[Ms,bo,Mo].indexOf(a)!==-1&&u===Yi||_t.indexOf(a)!==-1&&Kp.indexOf(u)!==-1||Kp.indexOf(a)!==-1&&_t.indexOf(u)!==-1||[Zi,Yi].indexOf(a)!==-1&&(u===Me||[_i,Ji].indexOf(u)!==-1&&e[o+1]===Me)||[_i,Ji].indexOf(a)!==-1&&u===Me||a===Me&&[Me,Cn,vn].indexOf(u)!==-1)return cA;if([Me,Cn,vn,Oo,Ki].indexOf(u)!==-1)for(var c=i;c>=0;){var f=e[c];if(f===Me)return cA;if([Cn,vn].indexOf(f)!==-1)c--;else break}if([Zi,Yi].indexOf(u)!==-1)for(var c=[Oo,Ki].indexOf(a)!==-1?s:i;c>=0;){var f=e[c];if(f===Me)return cA;if([Cn,vn].indexOf(f)!==-1)c--;else break}if(Kf===a&&[Kf,ga,Of,bf].indexOf(u)!==-1||[ga,Of].indexOf(a)!==-1&&[ga,wa].indexOf(u)!==-1||[wa,bf].indexOf(a)!==-1&&u===wa||_p.indexOf(a)!==-1&&[Mp,Yi].indexOf(u)!==-1||_p.indexOf(u)!==-1&&a===Zi||_t.indexOf(a)!==-1&&_t.indexOf(u)!==-1||a===vn&&_t.indexOf(u)!==-1||_t.concat(Me).indexOf(a)!==-1&&u===_i&&WS.indexOf(A[o])===-1||_t.concat(Me).indexOf(u)!==-1&&a===Ki)return cA;if(a===ec&&u===ec){for(var g=t[i],B=1;g>0&&(g--,e[g]===ec);)B++;if(B%2!==0)return cA}return a===bo&&u===Mo?cA:Ko},ZS=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=JS(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[Me,zr,i0].indexOf(o)!==-1?Ms:o}));var s=e.wordBreak==="keep-all"?i.map(function(o,a){return o&&A[a]>=19968&&A[a]<=40959}):void 0;return[r,n,s]},qS=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===s0,this.start=r,this.end=n}return A.prototype.slice=function(){return VA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),$S=function(A,e){var t=Vl(A),r=ZS(t,e),n=r[0],i=r[1],s=r[2],o=t.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=cA;l=a0&&A<=57},T1=function(A){return A>=55296&&A<=57343},yn=function(A){return ve(A)||A>=c0&&A<=d0||A>=l0&&A<=I1},R1=function(A){return A>=l0&&A<=x1},O1=function(A){return A>=c0&&A<=D1},b1=function(A){return R1(A)||O1(A)},M1=function(A){return A>=w1},Vo=function(A){return A===sl||A===t1||A===r1},ol=function(A){return b1(A)||M1(A)||A===o1},jp=function(A){return ol(A)||ve(A)||A===xe},K1=function(A){return A>=y1&&A<=Q1||A===F1||A>=U1&&A<=E1||A===S1},fr=function(A,e){return A!==fs?!1:e!==sl},Go=function(A,e,t){return A===xe?ol(e)||fr(e,t):ol(A)?!0:!!(A===fs&&fr(A,e))},nc=function(A,e,t){return A===en||A===xe?ve(e)?!0:e===Ks&&ve(t):ve(A===Ks?e:A)},_1=function(A){var e=0,t=1;(A[e]===en||A[e]===xe)&&(A[e]===xe&&(t=-1),e++);for(var r=[];ve(A[e]);)r.push(A[e++]);var n=r.length?parseInt(VA.apply(void 0,r),10):0;A[e]===Ks&&e++;for(var i=[];ve(A[e]);)i.push(A[e++]);var s=i.length,o=s?parseInt(VA.apply(void 0,i),10):0;(A[e]===f0||A[e]===u0)&&e++;var a=1;(A[e]===en||A[e]===xe)&&(A[e]===xe&&(a=-1),e++);for(var l=[];ve(A[e]);)l.push(A[e++]);var u=l.length?parseInt(VA.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-s))*Math.pow(10,a*u)},P1={type:2},N1={type:3},k1={type:4},V1={type:13},G1={type:8},j1={type:21},W1={type:9},z1={type:10},X1={type:11},J1={type:12},Y1={type:14},jo={type:23},Z1={type:1},q1={type:25},$1={type:24},AI={type:26},eI={type:27},tI={type:28},rI={type:29},nI={type:31},Nf={type:32},h0=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Vl(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Nf;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case _o:return this.consumeStringToken(_o);case n1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(jp(t)||fr(r,n)){var i=Go(t,r,n)?e1:A1,s=this.consumeName();return{type:5,value:s,flags:i}}break;case i1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),V1;break;case Po:return this.consumeStringToken(Po);case No:return P1;case Ni:return N1;case rc:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),Y1;break;case en:if(nc(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case m1:return k1;case xe:var o=e,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if(nc(o,a,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Go(o,a,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===xe&&l===u1)return this.consumeCodePoint(),this.consumeCodePoint(),$1;break;case Ks:if(nc(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case kp:if(this.peekCodePoint(0)===rc)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===rc&&(u=this.consumeCodePoint(),u===kp))return this.consumeToken();if(u===yt)return this.consumeToken()}break;case v1:return AI;case C1:return eI;case l1:if(this.peekCodePoint(0)===a1&&this.peekCodePoint(1)===xe&&this.peekCodePoint(2)===xe)return this.consumeCodePoint(),this.consumeCodePoint(),q1;break;case c1:var c=this.peekCodePoint(0),f=this.peekCodePoint(1),g=this.peekCodePoint(2);if(Go(c,f,g)){var s=this.consumeName();return{type:7,value:s}}break;case f1:return tI;case fs:if(fr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case d1:return rI;case h1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),G1;break;case B1:return X1;case p1:return J1;case H1:case L1:var B=this.peekCodePoint(0),m=this.peekCodePoint(1);return B===en&&(yn(m)||m===ko)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Vp:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),W1;if(this.peekCodePoint(0)===Vp)return this.consumeCodePoint(),j1;break;case g1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),z1;break;case yt:return Nf}return Vo(e)?(this.consumeWhiteSpace(),nI):ve(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ol(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:VA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();yn(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===ko&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(VA.apply(void 0,e.map(function(a){return a===ko?a0:a})),16),i=parseInt(VA.apply(void 0,e.map(function(a){return a===ko?d0:a})),16);return{type:30,start:n,end:i}}var s=parseInt(VA.apply(void 0,e),16);if(this.peekCodePoint(0)===xe&&yn(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];yn(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(VA.apply(void 0,o),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===No?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===No?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Po||t===_o){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===Ni)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),jo)}for(;;){var n=this.consumeCodePoint();if(n===yt||n===Ni)return{type:22,value:VA.apply(void 0,e)};if(Vo(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===Ni?(this.consumeCodePoint(),{type:22,value:VA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),jo);if(n===_o||n===Po||n===No||K1(n))return this.consumeBadUrlRemnants(),jo;if(n===fs)if(fr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),jo;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Vo(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Ni||e===yt)return;fr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=VA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===yt||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===sl)return this._value.splice(0,r),Z1;if(n===fs){var i=this._value[r+1];i!==yt&&i!==void 0&&(i===sl?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):fr(n,i)&&(t+=this.consumeStringSlice(r),t+=VA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=qs,r=this.peekCodePoint(0);for((r===en||r===xe)&&e.push(this.consumeCodePoint());ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Ks&&ve(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Np;ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===f0||r===u0)&&((n===en||n===xe)&&ve(i)||ve(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Np;ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[_1(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Go(n,i,s)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===s1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(yn(e)){for(var t=VA(e);yn(this.peekCodePoint(0))&&t.length<6;)t+=VA(this.consumeCodePoint());Vo(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||T1(r)||r>1114111?Gp:r}return e===yt?Gp:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(jp(t))e+=VA(t);else if(fr(t,this.peekCodePoint(0)))e+=VA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),B0=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new h0;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||sI(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Nf:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),$s=function(A){return A.type===15},Bi=function(A){return A.type===17},yA=function(A){return A.type===20},iI=function(A){return A.type===0},kf=function(A,e){return yA(A)&&A.value===e},p0=function(A){return A.type!==31},li=function(A){return A.type!==31&&A.type!==4},Dt=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},sI=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Rr=function(A){return A.type===17||A.type===15},XA=function(A){return A.type===16||Rr(A)},g0=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},fe={type:17,number:0,flags:qs},gh={type:16,number:50,flags:qs},mr={type:16,number:100,flags:qs},qi=function(A,e,t){var r=A[0],n=A[1];return[UA(r,e),UA(typeof n<"u"?n:r,t)]},UA=function(A,e){if(A.type===16)return A.number/100*e;if($s(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},w0="deg",m0="grad",v0="rad",C0="turn",Gl={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case w0:return Math.PI*e.number/180;case m0:return Math.PI/200*e.number;case v0:return e.number;case C0:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},y0=function(A){return A.type===15&&(A.unit===w0||A.unit===m0||A.unit===v0||A.unit===C0)},Q0=function(A){var e=A.filter(yA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[fe,fe];case"to top":case"bottom":return qe(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[fe,mr];case"to right":case"left":return qe(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[mr,mr];case"to bottom":case"top":return qe(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[mr,fe];case"to left":case"right":return qe(270)}return 0},qe=function(A){return Math.PI*A/180},xr={name:"color",parse:function(A,e){if(e.type===18){var t=oI[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return vr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),s=e.value.substring(3,4);return vr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return vr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),s=e.value.substring(6,8);return vr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(e.type===20){var o=Xt[e.value.toUpperCase()];if(typeof o<"u")return o}return Xt.TRANSPARENT}},Lr=function(A){return(255&A)===0},ne=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},vr=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Wp=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},zp=function(A,e){var t=e.filter(li);if(t.length===3){var r=t.map(Wp),n=r[0],i=r[1],s=r[2];return vr(n,i,s,1)}if(t.length===4){var o=t.map(Wp),n=o[0],i=o[1],s=o[2],a=o[3];return vr(n,i,s,a)}return 0};function ic(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Xp=function(A,e){var t=e.filter(li),r=t[0],n=t[1],i=t[2],s=t[3],o=(r.type===17?qe(r.number):Gl.parse(A,r))/(Math.PI*2),a=XA(n)?n.number/100:0,l=XA(i)?i.number/100:0,u=typeof s<"u"&&XA(s)?UA(s,1):1;if(a===0)return vr(l*255,l*255,l*255,1);var c=l<=.5?l*(a+1):l+a-l*a,f=l*2-c,g=ic(f,c,o+1/3),B=ic(f,c,o),m=ic(f,c,o-1/3);return vr(g*255,B*255,m*255,u)},oI={hsl:Xp,hsla:Xp,rgb:zp,rgba:zp},ds=function(A,e){return xr.parse(A,B0.create(e).parseComponentValue())},Xt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},aI={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(yA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},lI={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jl=function(A,e){var t=xr.parse(A,e[0]),r=e[1];return r&&XA(r)?{color:t,stop:r}:{color:t,stop:null}},Jp=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=fe),r.stop===null&&(r.stop=mr);for(var n=[],i=0,s=0;si?n.push(a):n.push(i),i=a}else n.push(null)}for(var l=null,s=0;ss.optimumDistance)?{optimumCorner:o,optimumDistance:u}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},fI=function(A,e,t,r,n){var i=0,s=0;switch(A.size){case 0:A.shape===0?i=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=s=Math.min(lt(e,t),lt(e,t-n),lt(e-r,t),lt(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=Yp(r,n,e,t,!0),l=a[0],u=a[1];i=lt(l-e,(u-t)/o),s=o*i}break;case 1:A.shape===0?i=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=s=Math.max(lt(e,t),lt(e,t-n),lt(e-r,t),lt(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),c=Yp(r,n,e,t,!1),l=c[0],u=c[1];i=lt(l-e,(u-t)/o),s=o*i}break}return Array.isArray(A.size)&&(i=UA(A.size[0],r),s=A.size.length===2?UA(A.size[1],n):i),[i,s]},dI=function(A,e){var t=qe(180),r=[];return Dt(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&s.value==="to"){t=Q0(n);return}else if(y0(s)){t=Gl.parse(A,s);return}}var o=jl(A,n);r.push(o)}),{angle:t,stops:r,type:1}},Wo=function(A,e){var t=qe(180),r=[];return Dt(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=Q0(n);return}else if(y0(s)){t=(Gl.parse(A,s)+qe(270))%qe(360);return}}var o=jl(A,n);r.push(o)}),{angle:t,stops:r,type:1}},hI=function(A,e){var t=qe(180),r=[],n=1,i=0,s=3,o=[];return Dt(e).forEach(function(a,l){var u=a[0];if(l===0){if(yA(u)&&u.value==="linear"){n=1;return}else if(yA(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var c=xr.parse(A,u.values[0]);r.push({stop:fe,color:c})}else if(u.name==="to"){var c=xr.parse(A,u.values[0]);r.push({stop:mr,color:c})}else if(u.name==="color-stop"){var f=u.values.filter(li);if(f.length===2){var c=xr.parse(A,f[1]),g=f[0];Bi(g)&&r.push({stop:{type:16,number:g.number*100,flags:g.flags},color:c})}}}}),n===1?{angle:(t+qe(180))%qe(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:o,type:n}},F0="closest-side",U0="farthest-side",E0="closest-corner",S0="farthest-corner",I0="circle",H0="ellipse",x0="cover",L0="contain",BI=function(A,e){var t=0,r=3,n=[],i=[];return Dt(e).forEach(function(s,o){var a=!0;if(o===0){var l=!1;a=s.reduce(function(c,f){if(l)if(yA(f))switch(f.value){case"center":return i.push(gh),c;case"top":case"left":return i.push(fe),c;case"right":case"bottom":return i.push(mr),c}else(XA(f)||Rr(f))&&i.push(f);else if(yA(f))switch(f.value){case I0:return t=0,!1;case H0:return t=1,!1;case"at":return l=!0,!1;case F0:return r=0,!1;case x0:case U0:return r=1,!1;case L0:case E0:return r=2,!1;case S0:return r=3,!1}else if(Rr(f)||XA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return c},a)}if(a){var u=jl(A,s);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},zo=function(A,e){var t=0,r=3,n=[],i=[];return Dt(e).forEach(function(s,o){var a=!0;if(o===0?a=s.reduce(function(u,c){if(yA(c))switch(c.value){case"center":return i.push(gh),!1;case"top":case"left":return i.push(fe),!1;case"right":case"bottom":return i.push(mr),!1}else if(XA(c)||Rr(c))return i.push(c),!1;return u},a):o===1&&(a=s.reduce(function(u,c){if(yA(c))switch(c.value){case I0:return t=0,!1;case H0:return t=1,!1;case L0:case F0:return r=0,!1;case U0:return r=1,!1;case E0:return r=2,!1;case x0:case S0:return r=3,!1}else if(Rr(c)||XA(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return u},a)),a){var l=jl(A,s);n.push(l)}}),{size:r,shape:t,stops:n,position:i,type:2}},pI=function(A){return A.type===1},gI=function(A){return A.type===2},wh={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=D0[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function wI(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!D0[A.name])}var D0={"linear-gradient":dI,"-moz-linear-gradient":Wo,"-ms-linear-gradient":Wo,"-o-linear-gradient":Wo,"-webkit-linear-gradient":Wo,"radial-gradient":BI,"-moz-radial-gradient":zo,"-ms-radial-gradient":zo,"-o-radial-gradient":zo,"-webkit-radial-gradient":zo,"-webkit-gradient":hI},mI={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return li(r)&&wI(r)}).map(function(r){return wh.parse(A,r)})}},vI={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(yA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},CI={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(XA)}).map(g0)}},yI={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(yA).map(function(r){return r.value}).join(" ")}).map(QI)}},QI=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},$n;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})($n||($n={}));var FI={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(UI)})}},UI=function(A){return yA(A)||XA(A)},Wl=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},EI=Wl("top"),SI=Wl("right"),II=Wl("bottom"),HI=Wl("left"),zl=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return g0(t.filter(XA))}}},xI=zl("top-left"),LI=zl("top-right"),DI=zl("bottom-right"),TI=zl("bottom-left"),Xl=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},RI=Xl("top"),OI=Xl("right"),bI=Xl("bottom"),MI=Xl("left"),Jl=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return $s(t)?t.number:0}}},KI=Jl("top"),_I=Jl("right"),PI=Jl("bottom"),NI=Jl("left"),kI={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},VI={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},GI={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).reduce(function(t,r){return t|jI(r.value)},0)}},jI=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},WI={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},zI={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},al;(function(A){A.NORMAL="normal",A.STRICT="strict"})(al||(al={}));var XI={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return al.STRICT;case"normal":default:return al.NORMAL}}},JI={name:"line-height",initialValue:"normal",prefix:!1,type:4},Zp=function(A,e){return yA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:XA(A)?UA(A,e):e},YI={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:wh.parse(A,e)}},ZI={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Vf={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Yl=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},qI=Yl("top"),$I=Yl("right"),AH=Yl("bottom"),eH=Yl("left"),tH={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},rH={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Zl=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},nH=Zl("top"),iH=Zl("right"),sH=Zl("bottom"),oH=Zl("left"),aH={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},lH={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},uH={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&kf(e[0],"none")?[]:Dt(e).map(function(t){for(var r={color:Xt.TRANSPARENT,offsetX:fe,offsetY:fe,blur:fe},n=0,i=0;i"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},dH=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},hH=function(A){var e=A.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,i,s,o]:null},BH={matrix:dH,matrix3d:hH},qp={type:16,number:50,flags:qs},pH=[qp,qp],gH={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(XA);return t.length!==2?pH:[t[0],t[1]]}},wH={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},hs;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(hs||(hs={}));var mH={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return hs.BREAK_ALL;case"keep-all":return hs.KEEP_ALL;case"normal":default:return hs.NORMAL}}},vH={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Bi(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},T0={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},CH={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Bi(e)?e.number:1}},yH={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},QH={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},FH={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},UH={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},EH={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Bi(e))return e.number;if(yA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},SH={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(yA).map(function(t){return t.value})}},IH={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},qA=function(A,e){return(A&e)!==0},HH={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},xH={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(p0),i=0;i1?1:0],this.overflowWrap=X(e,rH,t.overflowWrap),this.paddingTop=X(e,nH,t.paddingTop),this.paddingRight=X(e,iH,t.paddingRight),this.paddingBottom=X(e,sH,t.paddingBottom),this.paddingLeft=X(e,oH,t.paddingLeft),this.paintOrder=X(e,OH,t.paintOrder),this.position=X(e,lH,t.position),this.textAlign=X(e,aH,t.textAlign),this.textDecorationColor=X(e,yH,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=X(e,QH,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=X(e,uH,t.textShadow),this.textTransform=X(e,cH,t.textTransform),this.transform=X(e,fH,t.transform),this.transformOrigin=X(e,gH,t.transformOrigin),this.visibility=X(e,wH,t.visibility),this.webkitTextStrokeColor=X(e,bH,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(e,MH,t.webkitTextStrokeWidth),this.wordBreak=X(e,mH,t.wordBreak),this.zIndex=X(e,vH,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Lr(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return qA(this.display,4)||qA(this.display,33554432)||qA(this.display,268435456)||qA(this.display,536870912)||qA(this.display,67108864)||qA(this.display,134217728)},A}(),_H=function(){function A(e,t){this.content=X(e,HH,t.content),this.quotes=X(e,TH,t.quotes)}return A}(),Ag=function(){function A(e,t){this.counterIncrement=X(e,xH,t.counterIncrement),this.counterReset=X(e,LH,t.counterReset)}return A}(),X=function(A,e,t){var r=new h0,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new B0(r.read());switch(e.type){case 2:var s=i.parseComponentValue();return e.parse(A,yA(s)?s.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return Gl.parse(A,i.parseComponentValue());case"color":return xr.parse(A,i.parseComponentValue());case"image":return wh.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Rr(o)?o:fe;case"length-percentage":var a=i.parseComponentValue();return XA(a)?a:fe;case"time":return T0.parse(A,i.parseComponentValue())}break}},PH="data-html2canvas-debug",NH=function(A){var e=A.getAttribute(PH);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Gf=function(A,e){var t=NH(A);return t===1||e===t},Tt=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Gf(t,3))debugger;this.styles=new KH(e,window.getComputedStyle(t,null)),zf(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=kl(this.context,t),Gf(t,4)&&(this.flags|=16)}return A}(),kH="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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AB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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AAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",eg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$i=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Xo=0;Xo>4,u[n++]=(s&15)<<4|o>>2,u[n++]=(o&3)<<6|a&63;return l},GH=function(A){for(var e=A.length,t=[],r=0;r>sn,zH=1<>sn,JH=R0+XH,YH=JH,ZH=32,qH=YH+ZH,$H=65536>>mh,Ax=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>sn],t=(t<>sn)],t=(t<>mh),t=this.index[t],t+=e>>sn&ex,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Jo=0;Jo=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},ux=rx(kH),je="×",dc="÷",cx=function(A){return ux.get(A)},fx=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],s=e[t];if(i===ac&&s===lc)return je;if(i===ac||i===lc||i===ng||s===ac||s===lc||s===ng)return dc;if(i===sg&&[sg,uc,og,ag].indexOf(s)!==-1||(i===og||i===uc)&&(s===uc||s===cc)||(i===ag||i===cc)&&s===cc||s===lg||s===ig||s===ox||i===sx)return je;if(i===lg&&s===ug){for(;n===ig;)n=e[--r];if(n===ug)return je}if(i===fc&&s===fc){for(var o=0;n===fc;)o++,n=e[--r];if(o%2===0)return je}return dc},dx=function(A){var e=ax(A),t=e.length,r=0,n=0,i=e.map(cx);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=je;rs.x||u.y>s.y;return s=u,l===0?!0:c});return A.body.removeChild(e),o},gx=function(){return typeof new Image().crossOrigin<"u"},wx=function(){return typeof new XMLHttpRequest().responseType=="string"},mx=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},cg=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},vx=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var s=jf(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),fg(s).then(function(o){r.drawImage(o,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=t+"px",cg(a)?fg(jf(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),cg(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},jf=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},fg=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},ue={get SUPPORT_RANGE_BOUNDS(){var A=Bx(document);return Object.defineProperty(ue,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=ue.SUPPORT_RANGE_BOUNDS&&px(document);return Object.defineProperty(ue,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=mx(document);return Object.defineProperty(ue,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?vx(document):Promise.resolve(!1);return Object.defineProperty(ue,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=gx();return Object.defineProperty(ue,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=wx();return Object.defineProperty(ue,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ue,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(ue,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Bs=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Cx=function(A,e,t,r){var n=Fx(e,t),i=[],s=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(ue.SUPPORT_RANGE_BOUNDS){var a=dg(r,s,o.length).getClientRects();if(a.length>1){var l=vh(o),u=0;l.forEach(function(f){i.push(new Bs(f,Ar.fromDOMRectList(A,dg(r,u+s,f.length).getClientRects()))),u+=f.length})}else i.push(new Bs(o,Ar.fromDOMRectList(A,a)))}else{var c=r.splitText(o.length);i.push(new Bs(o,yx(A,r))),r=c}else ue.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));s+=o.length}),i},yx=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=kl(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return Ar.EMPTY},dg=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},vh=function(A){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return hx(A)},Qx=function(A,e){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return Ex(A,e)},Fx=function(A,e){return e.letterSpacing!==0?vh(A):Qx(A,e)},Ux=[32,160,4961,65792,65793,4153,4241],Ex=function(A,e){for(var t=$S(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var s=n.value.slice(),o=Vl(s),a="";o.forEach(function(l){Ux.indexOf(l)===-1?a+=VA(l):(a.length&&r.push(a),r.push(VA(l)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)i();return r},Sx=function(){function A(e,t,r){this.text=Ix(t.data,r.textTransform),this.textBounds=Cx(e,this.text,r,t)}return A}(),Ix=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Hx,xx);case 2:return A.toUpperCase();default:return A}},Hx=/(^|\s|:|-|\(|\))([a-z])/g,xx=function(A,e,t){return A.length>0?e+t.toUpperCase():A},O0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Tt),b0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Tt),M0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,s=kl(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Tt),K0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Tt),Wf=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Tt),Lx=[{type:15,flags:0,unit:"px",number:3}],Dx=[{type:16,flags:0,number:50}],Tx=function(A){return A.width>A.height?new Ar(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Sx(A,n,t.styles));else if(Gn(n))if(X0(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return ma(A,o,t,r)});else{var s=k0(A,n);s.styles.isVisible()&&(Mx(n,s,r)?s.flags|=4:Kx(s.styles)&&(s.flags|=2),bx.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?ma(A,n.shadowRoot,s,r):!cl(n)&&!j0(n)&&!fl(n)&&ma(A,n,s,r))}},k0=function(A,e){return Xf(e)?new O0(A,e):W0(e)?new b0(A,e):j0(e)?new M0(A,e):_x(e)?new K0(A,e):Px(e)?new Wf(A,e):Nx(e)?new Ch(A,e):fl(e)?new _0(A,e):cl(e)?new P0(A,e):z0(e)?new N0(A,e):new Tt(A,e)},V0=function(A,e){var t=k0(A,e);return t.flags|=4,ma(A,e,t,t),t},Mx=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||yh(A)&&t.styles.isTransparent()},Kx=function(A){return A.isPositioned()||A.isFloating()},G0=function(A){return A.nodeType===Node.TEXT_NODE},Gn=function(A){return A.nodeType===Node.ELEMENT_NODE},zf=function(A){return Gn(A)&&typeof A.style<"u"&&!va(A)},va=function(A){return typeof A.className=="object"},_x=function(A){return A.tagName==="LI"},Px=function(A){return A.tagName==="OL"},Nx=function(A){return A.tagName==="INPUT"},kx=function(A){return A.tagName==="HTML"},j0=function(A){return A.tagName==="svg"},yh=function(A){return A.tagName==="BODY"},W0=function(A){return A.tagName==="CANVAS"},Bg=function(A){return A.tagName==="VIDEO"},Xf=function(A){return A.tagName==="IMG"},z0=function(A){return A.tagName==="IFRAME"},pg=function(A){return A.tagName==="STYLE"},Vx=function(A){return A.tagName==="SCRIPT"},cl=function(A){return A.tagName==="TEXTAREA"},fl=function(A){return A.tagName==="SELECT"},X0=function(A){return A.tagName==="SLOT"},gg=function(A){return A.tagName.indexOf("-")>0},Gx=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var a=t.counters[o.counter];a&&o.increment!==0&&(i=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var s=[];return i&&n.forEach(function(o){var a=t.counters[o.counter];s.push(o.counter),a||(a=t.counters[o.counter]=[]),a.push(o.reset)}),s},A}(),wg={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},mg={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},jx={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Wx={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Qn=function(A,e,t,r,n,i){return At?_s(A,n,i.length>0):r.integers.reduce(function(s,o,a){for(;A>=o;)A-=o,s+=r.values[a];return s},"")+i},J0=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},kA=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+(J0(Math.abs(A),i,r,function(s){return VA(Math.floor(s%i)+e)})+n)},Vr=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return J0(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Sn=1,or=2,ar=4,As=8,Pt=function(A,e,t,r,n,i){if(A<-9999||A>9999)return _s(A,4,n.length>0);var s=Math.abs(A),o=n;if(s===0)return e[0]+o;for(var a=0;s>0&&a<=4;a++){var l=s%10;l===0&&qA(i,Sn)&&o!==""?o=e[l]+o:l>1||l===1&&a===0||l===1&&a===1&&qA(i,or)||l===1&&a===1&&qA(i,ar)&&A>100||l===1&&a>1&&qA(i,As)?o=e[l]+(a>0?t[a-1]:"")+o:l===1&&a>0&&(o=t[a-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},vg="十百千萬",Cg="拾佰仟萬",yg="マイナス",hc="마이너스",_s=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=kA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Vr(A,"〇一二三四五六七八九",n);case 6:return Qn(A,1,3999,wg,3,r).toLowerCase();case 7:return Qn(A,1,3999,wg,3,r);case 8:return kA(A,945,969,!1,r);case 9:return kA(A,97,122,!1,r);case 10:return kA(A,65,90,!1,r);case 11:return kA(A,1632,1641,!0,r);case 12:case 49:return Qn(A,1,9999,mg,3,r);case 35:return Qn(A,1,9999,mg,3,r).toLowerCase();case 13:return kA(A,2534,2543,!0,r);case 14:case 30:return kA(A,6112,6121,!0,r);case 15:return Vr(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Vr(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Pt(A,"零一二三四五六七八九",vg,"負",n,or|ar|As);case 47:return Pt(A,"零壹貳參肆伍陸柒捌玖",Cg,"負",n,Sn|or|ar|As);case 42:return Pt(A,"零一二三四五六七八九",vg,"负",n,or|ar|As);case 41:return Pt(A,"零壹贰叁肆伍陆柒捌玖",Cg,"负",n,Sn|or|ar|As);case 26:return Pt(A,"〇一二三四五六七八九","十百千万",yg,n,0);case 25:return Pt(A,"零壱弐参四伍六七八九","拾百千万",yg,n,Sn|or|ar);case 31:return Pt(A,"영일이삼사오육칠팔구","십백천만",hc,i,Sn|or|ar);case 33:return Pt(A,"零一二三四五六七八九","十百千萬",hc,i,0);case 32:return Pt(A,"零壹貳參四五六七八九","拾百千",hc,i,Sn|or|ar);case 18:return kA(A,2406,2415,!0,r);case 20:return Qn(A,1,19999,Wx,3,r);case 21:return kA(A,2790,2799,!0,r);case 22:return kA(A,2662,2671,!0,r);case 22:return Qn(A,1,10999,jx,3,r);case 23:return Vr(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Vr(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return kA(A,3302,3311,!0,r);case 28:return Vr(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Vr(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return kA(A,3792,3801,!0,r);case 37:return kA(A,6160,6169,!0,r);case 38:return kA(A,4160,4169,!0,r);case 39:return kA(A,2918,2927,!0,r);case 40:return kA(A,1776,1785,!0,r);case 43:return kA(A,3046,3055,!0,r);case 44:return kA(A,3174,3183,!0,r);case 45:return kA(A,3664,3673,!0,r);case 46:return kA(A,3872,3881,!0,r);case 3:default:return kA(A,48,57,!0,r)}},Y0="data-html2canvas-ignore",Qg=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Gx,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=zx(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=n.contentWindow,a=o.document,l=Yx(n).then(function(){return Fe(r,void 0,void 0,function(){var u,c;return me(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEach(AL),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),u=this.options.onclone,c=this.clonedReferenceElement,typeof c>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Jx(a)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(a,c)}).then(function(){return n})]:[2,n]}})})});return a.open(),a.write(qx(document.doctype)+""),$x(this.referenceElement.ownerDocument,i,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),l},A.prototype.createElementClone=function(e){if(Gf(e,2))debugger;if(W0(e))return this.createCanvasClone(e);if(Bg(e))return this.createVideoClone(e);if(pg(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Xf(t)&&(Xf(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),gg(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Bc(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var a=o.getContextAttributes();(a==null?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Gn(t)||!Vx(t)&&!t.hasAttribute(Y0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Gn(t)||!pg(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Gn(i)&&X0(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(G0(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Gn(e)&&(zf(e)||va(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&zf(n)&&(this.clonedReferenceElement=n),yh(n)&&rL(n);var a=this.counters.parse(new Ag(this.context,i)),l=this.resolvePseudoContent(e,n,s,ps.BEFORE);gg(e)&&(t=!0),Bg(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,ps.AFTER);return u&&n.appendChild(u),this.counters.pop(a),(i&&(this.options.copyStyles||va(e))&&!z0(e)||t)&&Bc(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(cl(e)||fl(e))&&(cl(n)||fl(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var s=r.content,o=t.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Ag(this.context,r));var a=new _H(this.context,r),l=o.createElement("html2canvaspseudoelement");Bc(r,l),a.content.forEach(function(c){if(c.type===0)l.appendChild(o.createTextNode(c.value));else if(c.type===22){var f=o.createElement("img");f.src=c.value,f.style.opacity="1",l.appendChild(f)}else if(c.type===18){if(c.name==="attr"){var g=c.values.filter(yA);g.length&&l.appendChild(o.createTextNode(e.getAttribute(g[0].value)||""))}else if(c.name==="counter"){var B=c.values.filter(li),m=B[0],S=B[1];if(m&&yA(m)){var p=i.counters.getCounterValue(m.value),d=S&&yA(S)?Vf.parse(i.context,S.value):3;l.appendChild(o.createTextNode(_s(p,d,!1)))}}else if(c.name==="counters"){var w=c.values.filter(li),m=w[0],h=w[1],S=w[2];if(m&&yA(m)){var C=i.counters.getCounterValues(m.value),y=S&&yA(S)?Vf.parse(i.context,S.value):3,U=h&&h.type===0?h.value:"",v=C.map(function(b){return _s(b,y,!1)}).join(U);l.appendChild(o.createTextNode(v))}}}else if(c.type===20)switch(c.value){case"open-quote":l.appendChild(o.createTextNode($p(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode($p(a.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(c.value))}}),l.className=Jf+" "+Yf;var u=n===ps.BEFORE?" "+Jf:" "+Yf;return va(t)?t.className.baseValue+=u:t.className+=u,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),ps;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(ps||(ps={}));var zx=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Y0,"true"),A.body.appendChild(t),t},Xx=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},Jx=function(A){return Promise.all([].slice.call(A.images,0).map(Xx))},Yx=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},Zx=["all","d","content"],Bc=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);Zx.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},qx=function(A){var e="";return A&&(e+=""),e},$x=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},AL=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},eL=":before",tL=":after",Jf="___html2canvas___pseudoelement_before",Yf="___html2canvas___pseudoelement_after",Fg=`{ +***************************************************************************** */var Hf=function(A,e){return Hf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},Hf(A,e)};function vt(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hf(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var xf=function(){return xf=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Hp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",CS=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Do=0;Do"u"?[]:new Uint8Array(256);for(var To=0;To>4,u[n++]=(s&15)<<4|o>>2,u[n++]=(o&3)<<6|a&63;return l},QS=function(A){for(var e=A.length,t=[],r=0;r>nn,ES=1<>nn,IS=e0+SS,HS=IS,xS=32,LS=HS+xS,DS=65536>>ph,TS=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>nn],t=(t<>nn)],t=(t<>ph),t=this.index[t],t+=e>>nn&RS,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Ro=0;RoTp?(n.push(!0),o-=Tp):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),t.push(Tf);if(o===NS||o===Lf){if(s===0)return r.push(s),t.push(zr);var a=t[s-1];return JS.indexOf(a)===-1?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(zr))}if(r.push(s),o===WS)return t.push(e==="strict"?Rf:Ms);if(o===i0||o===jS)return t.push(zr);if(o===zS)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Ms):t.push(zr);t.push(o)}),[r,t,n]},tc=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var s=r[i];if(s===e)return!0;if(s!==wr)break}if(n===wr)for(var i=t;i>0;){i--;var o=r[i];if(Array.isArray(A)?A.indexOf(o)!==-1:A===o)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===e)return!0;if(s!==wr)break}if(o!==wr)break}return!1},Pp=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===wr)t--;else return r}return 0},qS=function(A,e,t,r,n){if(t[r]===0)return cA;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return cA;var s=i-1,o=i+1,a=e[i],l=s>=0?e[s]:0,u=e[o];if(a===t0&&u===r0)return cA;if(Pf.indexOf(a)!==-1)return s0;if(Pf.indexOf(u)!==-1||o0.indexOf(u)!==-1)return cA;if(Pp(i,e)===n0)return Ko;if(_f.get(A[i])===Lf||(a===bo||a===Mo)&&_f.get(A[o])===Lf||a===Rp||u===Rp||a===Op||[wr,Df,Ji].indexOf(a)===-1&&u===Op||[Oo,Ki,GS,vn,Cn].indexOf(u)!==-1||Pp(i,e)===_i||tc(Ac,_i,i,e)||tc([Oo,Ki],Rf,i,e)||tc(bp,bp,i,e))return cA;if(a===wr)return Ko;if(a===Ac||u===Ac)return cA;if(u===Tf||a===Tf)return Ko;if([Df,Ji,Rf].indexOf(u)!==-1||a===VS||l===Mf&&YS.indexOf(a)!==-1||a===Cn&&u===Mf||u===Mp||_t.indexOf(u)!==-1&&a===Me||_t.indexOf(a)!==-1&&u===Me||a===Zi&&[Ms,bo,Mo].indexOf(u)!==-1||[Ms,bo,Mo].indexOf(a)!==-1&&u===Yi||_t.indexOf(a)!==-1&&Kp.indexOf(u)!==-1||Kp.indexOf(a)!==-1&&_t.indexOf(u)!==-1||[Zi,Yi].indexOf(a)!==-1&&(u===Me||[_i,Ji].indexOf(u)!==-1&&e[o+1]===Me)||[_i,Ji].indexOf(a)!==-1&&u===Me||a===Me&&[Me,Cn,vn].indexOf(u)!==-1)return cA;if([Me,Cn,vn,Oo,Ki].indexOf(u)!==-1)for(var c=i;c>=0;){var f=e[c];if(f===Me)return cA;if([Cn,vn].indexOf(f)!==-1)c--;else break}if([Zi,Yi].indexOf(u)!==-1)for(var c=[Oo,Ki].indexOf(a)!==-1?s:i;c>=0;){var f=e[c];if(f===Me)return cA;if([Cn,vn].indexOf(f)!==-1)c--;else break}if(Kf===a&&[Kf,ga,Of,bf].indexOf(u)!==-1||[ga,Of].indexOf(a)!==-1&&[ga,wa].indexOf(u)!==-1||[wa,bf].indexOf(a)!==-1&&u===wa||_p.indexOf(a)!==-1&&[Mp,Yi].indexOf(u)!==-1||_p.indexOf(u)!==-1&&a===Zi||_t.indexOf(a)!==-1&&_t.indexOf(u)!==-1||a===vn&&_t.indexOf(u)!==-1||_t.concat(Me).indexOf(a)!==-1&&u===_i&&XS.indexOf(A[o])===-1||_t.concat(Me).indexOf(u)!==-1&&a===Ki)return cA;if(a===ec&&u===ec){for(var g=t[i],B=1;g>0&&(g--,e[g]===ec);)B++;if(B%2!==0)return cA}return a===bo&&u===Mo?cA:Ko},$S=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=ZS(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(o){return[Me,zr,i0].indexOf(o)!==-1?Ms:o}));var s=e.wordBreak==="keep-all"?i.map(function(o,a){return o&&A[a]>=19968&&A[a]<=40959}):void 0;return[r,n,s]},A1=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===s0,this.start=r,this.end=n}return A.prototype.slice=function(){return VA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),e1=function(A,e){var t=Vl(A),r=$S(t,e),n=r[0],i=r[1],s=r[2],o=t.length,a=0,l=0;return{next:function(){if(l>=o)return{done:!0,value:null};for(var u=cA;l=a0&&A<=57},O1=function(A){return A>=55296&&A<=57343},yn=function(A){return ve(A)||A>=c0&&A<=d0||A>=l0&&A<=x1},b1=function(A){return A>=l0&&A<=D1},M1=function(A){return A>=c0&&A<=R1},K1=function(A){return b1(A)||M1(A)},_1=function(A){return A>=v1},Vo=function(A){return A===sl||A===n1||A===i1},ol=function(A){return K1(A)||_1(A)||A===l1},jp=function(A){return ol(A)||ve(A)||A===xe},P1=function(A){return A>=F1&&A<=U1||A===E1||A>=S1&&A<=I1||A===H1},fr=function(A,e){return A!==fs?!1:e!==sl},Go=function(A,e,t){return A===xe?ol(e)||fr(e,t):ol(A)?!0:!!(A===fs&&fr(A,e))},nc=function(A,e,t){return A===en||A===xe?ve(e)?!0:e===Ks&&ve(t):ve(A===Ks?e:A)},N1=function(A){var e=0,t=1;(A[e]===en||A[e]===xe)&&(A[e]===xe&&(t=-1),e++);for(var r=[];ve(A[e]);)r.push(A[e++]);var n=r.length?parseInt(VA.apply(void 0,r),10):0;A[e]===Ks&&e++;for(var i=[];ve(A[e]);)i.push(A[e++]);var s=i.length,o=s?parseInt(VA.apply(void 0,i),10):0;(A[e]===f0||A[e]===u0)&&e++;var a=1;(A[e]===en||A[e]===xe)&&(A[e]===xe&&(a=-1),e++);for(var l=[];ve(A[e]);)l.push(A[e++]);var u=l.length?parseInt(VA.apply(void 0,l),10):0;return t*(n+o*Math.pow(10,-s))*Math.pow(10,a*u)},k1={type:2},V1={type:3},G1={type:4},j1={type:13},W1={type:8},z1={type:21},X1={type:9},J1={type:10},Y1={type:11},Z1={type:12},q1={type:14},jo={type:23},$1={type:1},AI={type:25},eI={type:24},tI={type:26},rI={type:27},nI={type:28},iI={type:29},sI={type:31},Nf={type:32},h0=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(Vl(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==Nf;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case _o:return this.consumeStringToken(_o);case s1:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(jp(t)||fr(r,n)){var i=Go(t,r,n)?r1:t1,s=this.consumeName();return{type:5,value:s,flags:i}}break;case o1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),j1;break;case Po:return this.consumeStringToken(Po);case No:return k1;case Ni:return V1;case rc:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),q1;break;case en:if(nc(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case C1:return G1;case xe:var o=e,a=this.peekCodePoint(0),l=this.peekCodePoint(1);if(nc(o,a,l))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(Go(o,a,l))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===xe&&l===f1)return this.consumeCodePoint(),this.consumeCodePoint(),eI;break;case Ks:if(nc(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case kp:if(this.peekCodePoint(0)===rc)for(this.consumeCodePoint();;){var u=this.consumeCodePoint();if(u===rc&&(u=this.consumeCodePoint(),u===kp))return this.consumeToken();if(u===yt)return this.consumeToken()}break;case y1:return tI;case Q1:return rI;case c1:if(this.peekCodePoint(0)===u1&&this.peekCodePoint(1)===xe&&this.peekCodePoint(2)===xe)return this.consumeCodePoint(),this.consumeCodePoint(),AI;break;case d1:var c=this.peekCodePoint(0),f=this.peekCodePoint(1),g=this.peekCodePoint(2);if(Go(c,f,g)){var s=this.consumeName();return{type:7,value:s}}break;case h1:return nI;case fs:if(fr(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case B1:return iI;case p1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),W1;break;case g1:return Y1;case w1:return Z1;case L1:case T1:var B=this.peekCodePoint(0),m=this.peekCodePoint(1);return B===en&&(yn(m)||m===ko)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case Vp:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),X1;if(this.peekCodePoint(0)===Vp)return this.consumeCodePoint(),z1;break;case m1:if(this.peekCodePoint(0)===Pi)return this.consumeCodePoint(),J1;break;case yt:return Nf}return Vo(e)?(this.consumeWhiteSpace(),sI):ve(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):ol(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:VA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();yn(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===ko&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(VA.apply(void 0,e.map(function(a){return a===ko?a0:a})),16),i=parseInt(VA.apply(void 0,e.map(function(a){return a===ko?d0:a})),16);return{type:30,start:n,end:i}}var s=parseInt(VA.apply(void 0,e),16);if(this.peekCodePoint(0)===xe&&yn(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var o=[];yn(t)&&o.length<6;)o.push(t),t=this.consumeCodePoint();var i=parseInt(VA.apply(void 0,o),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===No?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===No?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Po||t===_o){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===Ni)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),jo)}for(;;){var n=this.consumeCodePoint();if(n===yt||n===Ni)return{type:22,value:VA.apply(void 0,e)};if(Vo(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===yt||this.peekCodePoint(0)===Ni?(this.consumeCodePoint(),{type:22,value:VA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),jo);if(n===_o||n===Po||n===No||P1(n))return this.consumeBadUrlRemnants(),jo;if(n===fs)if(fr(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),jo;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;Vo(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===Ni||e===yt)return;fr(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=VA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===yt||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===sl)return this._value.splice(0,r),$1;if(n===fs){var i=this._value[r+1];i!==yt&&i!==void 0&&(i===sl?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):fr(n,i)&&(t+=this.consumeStringSlice(r),t+=VA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=qs,r=this.peekCodePoint(0);for((r===en||r===xe)&&e.push(this.consumeCodePoint());ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Ks&&ve(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Np;ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===f0||r===u0)&&((n===en||n===xe)&&ve(i)||ve(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Np;ve(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[N1(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(Go(n,i,s)){var o=this.consumeName();return{type:15,number:t,flags:r,unit:o}}return n===a1?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(yn(e)){for(var t=VA(e);yn(this.peekCodePoint(0))&&t.length<6;)t+=VA(this.consumeCodePoint());Vo(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||O1(r)||r>1114111?Gp:r}return e===yt?Gp:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(jp(t))e+=VA(t);else if(fr(t,this.peekCodePoint(0)))e+=VA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),B0=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new h0;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||aI(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?Nf:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),$s=function(A){return A.type===15},Bi=function(A){return A.type===17},yA=function(A){return A.type===20},oI=function(A){return A.type===0},kf=function(A,e){return yA(A)&&A.value===e},p0=function(A){return A.type!==31},li=function(A){return A.type!==31&&A.type!==4},Dt=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},aI=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},Rr=function(A){return A.type===17||A.type===15},XA=function(A){return A.type===16||Rr(A)},g0=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},fe={type:17,number:0,flags:qs},gh={type:16,number:50,flags:qs},mr={type:16,number:100,flags:qs},qi=function(A,e,t){var r=A[0],n=A[1];return[UA(r,e),UA(typeof n<"u"?n:r,t)]},UA=function(A,e){if(A.type===16)return A.number/100*e;if($s(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},w0="deg",m0="grad",v0="rad",C0="turn",Gl={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case w0:return Math.PI*e.number/180;case m0:return Math.PI/200*e.number;case v0:return e.number;case C0:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},y0=function(A){return A.type===15&&(A.unit===w0||A.unit===m0||A.unit===v0||A.unit===C0)},Q0=function(A){var e=A.filter(yA).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[fe,fe];case"to top":case"bottom":return qe(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[fe,mr];case"to right":case"left":return qe(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[mr,mr];case"to bottom":case"top":return qe(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[mr,fe];case"to left":case"right":return qe(270)}return 0},qe=function(A){return Math.PI*A/180},xr={name:"color",parse:function(A,e){if(e.type===18){var t=lI[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return vr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),s=e.value.substring(3,4);return vr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return vr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),s=e.value.substring(6,8);return vr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(e.type===20){var o=Xt[e.value.toUpperCase()];if(typeof o<"u")return o}return Xt.TRANSPARENT}},Lr=function(A){return(255&A)===0},ne=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},vr=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},Wp=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},zp=function(A,e){var t=e.filter(li);if(t.length===3){var r=t.map(Wp),n=r[0],i=r[1],s=r[2];return vr(n,i,s,1)}if(t.length===4){var o=t.map(Wp),n=o[0],i=o[1],s=o[2],a=o[3];return vr(n,i,s,a)}return 0};function ic(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var Xp=function(A,e){var t=e.filter(li),r=t[0],n=t[1],i=t[2],s=t[3],o=(r.type===17?qe(r.number):Gl.parse(A,r))/(Math.PI*2),a=XA(n)?n.number/100:0,l=XA(i)?i.number/100:0,u=typeof s<"u"&&XA(s)?UA(s,1):1;if(a===0)return vr(l*255,l*255,l*255,1);var c=l<=.5?l*(a+1):l+a-l*a,f=l*2-c,g=ic(f,c,o+1/3),B=ic(f,c,o),m=ic(f,c,o-1/3);return vr(g*255,B*255,m*255,u)},lI={hsl:Xp,hsla:Xp,rgb:zp,rgba:zp},ds=function(A,e){return xr.parse(A,B0.create(e).parseComponentValue())},Xt={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},uI={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(yA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},cI={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jl=function(A,e){var t=xr.parse(A,e[0]),r=e[1];return r&&XA(r)?{color:t,stop:r}:{color:t,stop:null}},Jp=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=fe),r.stop===null&&(r.stop=mr);for(var n=[],i=0,s=0;si?n.push(a):n.push(i),i=a}else n.push(null)}for(var l=null,s=0;ss.optimumDistance)?{optimumCorner:o,optimumDistance:u}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},hI=function(A,e,t,r,n){var i=0,s=0;switch(A.size){case 0:A.shape===0?i=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=s=Math.min(lt(e,t),lt(e,t-n),lt(e-r,t),lt(e-r,t-n));else if(A.shape===1){var o=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),a=Yp(r,n,e,t,!0),l=a[0],u=a[1];i=lt(l-e,(u-t)/o),s=o*i}break;case 1:A.shape===0?i=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=s=Math.max(lt(e,t),lt(e,t-n),lt(e-r,t),lt(e-r,t-n));else if(A.shape===1){var o=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),c=Yp(r,n,e,t,!1),l=c[0],u=c[1];i=lt(l-e,(u-t)/o),s=o*i}break}return Array.isArray(A.size)&&(i=UA(A.size[0],r),s=A.size.length===2?UA(A.size[1],n):i),[i,s]},BI=function(A,e){var t=qe(180),r=[];return Dt(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&s.value==="to"){t=Q0(n);return}else if(y0(s)){t=Gl.parse(A,s);return}}var o=jl(A,n);r.push(o)}),{angle:t,stops:r,type:1}},Wo=function(A,e){var t=qe(180),r=[];return Dt(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=Q0(n);return}else if(y0(s)){t=(Gl.parse(A,s)+qe(270))%qe(360);return}}var o=jl(A,n);r.push(o)}),{angle:t,stops:r,type:1}},pI=function(A,e){var t=qe(180),r=[],n=1,i=0,s=3,o=[];return Dt(e).forEach(function(a,l){var u=a[0];if(l===0){if(yA(u)&&u.value==="linear"){n=1;return}else if(yA(u)&&u.value==="radial"){n=2;return}}if(u.type===18){if(u.name==="from"){var c=xr.parse(A,u.values[0]);r.push({stop:fe,color:c})}else if(u.name==="to"){var c=xr.parse(A,u.values[0]);r.push({stop:mr,color:c})}else if(u.name==="color-stop"){var f=u.values.filter(li);if(f.length===2){var c=xr.parse(A,f[1]),g=f[0];Bi(g)&&r.push({stop:{type:16,number:g.number*100,flags:g.flags},color:c})}}}}),n===1?{angle:(t+qe(180))%qe(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:o,type:n}},F0="closest-side",U0="farthest-side",E0="closest-corner",S0="farthest-corner",I0="circle",H0="ellipse",x0="cover",L0="contain",gI=function(A,e){var t=0,r=3,n=[],i=[];return Dt(e).forEach(function(s,o){var a=!0;if(o===0){var l=!1;a=s.reduce(function(c,f){if(l)if(yA(f))switch(f.value){case"center":return i.push(gh),c;case"top":case"left":return i.push(fe),c;case"right":case"bottom":return i.push(mr),c}else(XA(f)||Rr(f))&&i.push(f);else if(yA(f))switch(f.value){case I0:return t=0,!1;case H0:return t=1,!1;case"at":return l=!0,!1;case F0:return r=0,!1;case x0:case U0:return r=1,!1;case L0:case E0:return r=2,!1;case S0:return r=3,!1}else if(Rr(f)||XA(f))return Array.isArray(r)||(r=[]),r.push(f),!1;return c},a)}if(a){var u=jl(A,s);n.push(u)}}),{size:r,shape:t,stops:n,position:i,type:2}},zo=function(A,e){var t=0,r=3,n=[],i=[];return Dt(e).forEach(function(s,o){var a=!0;if(o===0?a=s.reduce(function(u,c){if(yA(c))switch(c.value){case"center":return i.push(gh),!1;case"top":case"left":return i.push(fe),!1;case"right":case"bottom":return i.push(mr),!1}else if(XA(c)||Rr(c))return i.push(c),!1;return u},a):o===1&&(a=s.reduce(function(u,c){if(yA(c))switch(c.value){case I0:return t=0,!1;case H0:return t=1,!1;case L0:case F0:return r=0,!1;case U0:return r=1,!1;case E0:return r=2,!1;case x0:case S0:return r=3,!1}else if(Rr(c)||XA(c))return Array.isArray(r)||(r=[]),r.push(c),!1;return u},a)),a){var l=jl(A,s);n.push(l)}}),{size:r,shape:t,stops:n,position:i,type:2}},wI=function(A){return A.type===1},mI=function(A){return A.type===2},wh={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=D0[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function vI(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!D0[A.name])}var D0={"linear-gradient":BI,"-moz-linear-gradient":Wo,"-ms-linear-gradient":Wo,"-o-linear-gradient":Wo,"-webkit-linear-gradient":Wo,"radial-gradient":gI,"-moz-radial-gradient":zo,"-ms-radial-gradient":zo,"-o-radial-gradient":zo,"-webkit-radial-gradient":zo,"-webkit-gradient":pI},CI={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return li(r)&&vI(r)}).map(function(r){return wh.parse(A,r)})}},yI={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(yA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},QI={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(XA)}).map(g0)}},FI={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(yA).map(function(r){return r.value}).join(" ")}).map(UI)}},UI=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},$n;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})($n||($n={}));var EI={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Dt(e).map(function(t){return t.filter(SI)})}},SI=function(A){return yA(A)||XA(A)},Wl=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},II=Wl("top"),HI=Wl("right"),xI=Wl("bottom"),LI=Wl("left"),zl=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return g0(t.filter(XA))}}},DI=zl("top-left"),TI=zl("top-right"),RI=zl("bottom-right"),OI=zl("bottom-left"),Xl=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},bI=Xl("top"),MI=Xl("right"),KI=Xl("bottom"),_I=Xl("left"),Jl=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return $s(t)?t.number:0}}},PI=Jl("top"),NI=Jl("right"),kI=Jl("bottom"),VI=Jl("left"),GI={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jI={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},WI={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).reduce(function(t,r){return t|zI(r.value)},0)}},zI=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},XI={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},JI={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},al;(function(A){A.NORMAL="normal",A.STRICT="strict"})(al||(al={}));var YI={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return al.STRICT;case"normal":default:return al.NORMAL}}},ZI={name:"line-height",initialValue:"normal",prefix:!1,type:4},Zp=function(A,e){return yA(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:XA(A)?UA(A,e):e},qI={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:wh.parse(A,e)}},$I={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},Vf={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Yl=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},AH=Yl("top"),eH=Yl("right"),tH=Yl("bottom"),rH=Yl("left"),nH={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},iH={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},Zl=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},sH=Zl("top"),oH=Zl("right"),aH=Zl("bottom"),lH=Zl("left"),uH={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},cH={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},fH={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&kf(e[0],"none")?[]:Dt(e).map(function(t){for(var r={color:Xt.TRANSPARENT,offsetX:fe,offsetY:fe,blur:fe},n=0,i=0;i"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},BH=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},pH=function(A){var e=A.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],o=e[13];return e[14],e[15],e.length===16?[t,r,n,i,s,o]:null},gH={matrix:BH,matrix3d:pH},qp={type:16,number:50,flags:qs},wH=[qp,qp],mH={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(XA);return t.length!==2?wH:[t[0],t[1]]}},vH={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},hs;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(hs||(hs={}));var CH={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return hs.BREAK_ALL;case"keep-all":return hs.KEEP_ALL;case"normal":default:return hs.NORMAL}}},yH={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Bi(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},T0={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},QH={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Bi(e)?e.number:1}},FH={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},UH={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(yA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},EH={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},SH={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},IH={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Bi(e))return e.number;if(yA(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},HH={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(yA).map(function(t){return t.value})}},xH={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},qA=function(A,e){return(A&e)!==0},LH={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},DH={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(p0),i=0;i1?1:0],this.overflowWrap=X(e,iH,t.overflowWrap),this.paddingTop=X(e,sH,t.paddingTop),this.paddingRight=X(e,oH,t.paddingRight),this.paddingBottom=X(e,aH,t.paddingBottom),this.paddingLeft=X(e,lH,t.paddingLeft),this.paintOrder=X(e,MH,t.paintOrder),this.position=X(e,cH,t.position),this.textAlign=X(e,uH,t.textAlign),this.textDecorationColor=X(e,FH,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=X(e,UH,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=X(e,fH,t.textShadow),this.textTransform=X(e,dH,t.textTransform),this.transform=X(e,hH,t.transform),this.transformOrigin=X(e,mH,t.transformOrigin),this.visibility=X(e,vH,t.visibility),this.webkitTextStrokeColor=X(e,KH,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=X(e,_H,t.webkitTextStrokeWidth),this.wordBreak=X(e,CH,t.wordBreak),this.zIndex=X(e,yH,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Lr(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return qA(this.display,4)||qA(this.display,33554432)||qA(this.display,268435456)||qA(this.display,536870912)||qA(this.display,67108864)||qA(this.display,134217728)},A}(),NH=function(){function A(e,t){this.content=X(e,LH,t.content),this.quotes=X(e,OH,t.quotes)}return A}(),Ag=function(){function A(e,t){this.counterIncrement=X(e,DH,t.counterIncrement),this.counterReset=X(e,TH,t.counterReset)}return A}(),X=function(A,e,t){var r=new h0,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new B0(r.read());switch(e.type){case 2:var s=i.parseComponentValue();return e.parse(A,yA(s)?s.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return Gl.parse(A,i.parseComponentValue());case"color":return xr.parse(A,i.parseComponentValue());case"image":return wh.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Rr(o)?o:fe;case"length-percentage":var a=i.parseComponentValue();return XA(a)?a:fe;case"time":return T0.parse(A,i.parseComponentValue())}break}},kH="data-html2canvas-debug",VH=function(A){var e=A.getAttribute(kH);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Gf=function(A,e){var t=VH(A);return t===1||e===t},Tt=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Gf(t,3))debugger;this.styles=new PH(e,window.getComputedStyle(t,null)),zf(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=kl(this.context,t),Gf(t,4)&&(this.flags|=16)}return A}(),GH="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAg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ACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBl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sBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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uint8Array>"u"?[]:new Uint8Array(256);for(var Xo=0;Xo>4,u[n++]=(s&15)<<4|o>>2,u[n++]=(o&3)<<6|a&63;return l},WH=function(A){for(var e=A.length,t=[],r=0;r>sn,JH=1<>sn,ZH=R0+YH,qH=ZH,$H=32,Ax=qH+$H,ex=65536>>mh,tx=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>sn],t=(t<>sn)],t=(t<>mh),t=this.index[t],t+=e>>sn&rx,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Jo=0;Jo=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},fx=ix(GH),je="×",dc="÷",dx=function(A){return fx.get(A)},hx=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],s=e[t];if(i===ac&&s===lc)return je;if(i===ac||i===lc||i===ng||s===ac||s===lc||s===ng)return dc;if(i===sg&&[sg,uc,og,ag].indexOf(s)!==-1||(i===og||i===uc)&&(s===uc||s===cc)||(i===ag||i===cc)&&s===cc||s===lg||s===ig||s===lx||i===ax)return je;if(i===lg&&s===ug){for(;n===ig;)n=e[--r];if(n===ug)return je}if(i===fc&&s===fc){for(var o=0;n===fc;)o++,n=e[--r];if(o%2===0)return je}return dc},Bx=function(A){var e=ux(A),t=e.length,r=0,n=0,i=e.map(dx);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=je;rs.x||u.y>s.y;return s=u,l===0?!0:c});return A.body.removeChild(e),o},mx=function(){return typeof new Image().crossOrigin<"u"},vx=function(){return typeof new XMLHttpRequest().responseType=="string"},Cx=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},cg=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},yx=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var s=jf(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),fg(s).then(function(o){r.drawImage(o,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var l=A.createElement("div");return l.style.backgroundImage="url("+i+")",l.style.height=t+"px",cg(a)?fg(jf(t,t,0,0,l)):Promise.reject(!1)}).then(function(o){return r.drawImage(o,0,0),cg(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},jf=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",t.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},fg=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},ue={get SUPPORT_RANGE_BOUNDS(){var A=gx(document);return Object.defineProperty(ue,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=ue.SUPPORT_RANGE_BOUNDS&&wx(document);return Object.defineProperty(ue,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Cx(document);return Object.defineProperty(ue,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?yx(document):Promise.resolve(!1);return Object.defineProperty(ue,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=mx();return Object.defineProperty(ue,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=vx();return Object.defineProperty(ue,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(ue,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(ue,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Bs=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),Qx=function(A,e,t,r){var n=Ex(e,t),i=[],s=0;return n.forEach(function(o){if(t.textDecorationLine.length||o.trim().length>0)if(ue.SUPPORT_RANGE_BOUNDS){var a=dg(r,s,o.length).getClientRects();if(a.length>1){var l=vh(o),u=0;l.forEach(function(f){i.push(new Bs(f,Ar.fromDOMRectList(A,dg(r,u+s,f.length).getClientRects()))),u+=f.length})}else i.push(new Bs(o,Ar.fromDOMRectList(A,a)))}else{var c=r.splitText(o.length);i.push(new Bs(o,Fx(A,r))),r=c}else ue.SUPPORT_RANGE_BOUNDS||(r=r.splitText(o.length));s+=o.length}),i},Fx=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=kl(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return Ar.EMPTY},dg=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},vh=function(A){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return px(A)},Ux=function(A,e){if(ue.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return Ix(A,e)},Ex=function(A,e){return e.letterSpacing!==0?vh(A):Ux(A,e)},Sx=[32,160,4961,65792,65793,4153,4241],Ix=function(A,e){for(var t=e1(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var s=n.value.slice(),o=Vl(s),a="";o.forEach(function(l){Sx.indexOf(l)===-1?a+=VA(l):(a.length&&r.push(a),r.push(VA(l)),a="")}),a.length&&r.push(a)}};!(n=t.next()).done;)i();return r},Hx=function(){function A(e,t,r){this.text=xx(t.data,r.textTransform),this.textBounds=Qx(e,this.text,r,t)}return A}(),xx=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(Lx,Dx);case 2:return A.toUpperCase();default:return A}},Lx=/(^|\s|:|-|\(|\))([a-z])/g,Dx=function(A,e,t){return A.length>0?e+t.toUpperCase():A},O0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(Tt),b0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(Tt),M0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,s=kl(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(Tt),K0=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(Tt),Wf=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(Tt),Tx=[{type:15,flags:0,unit:"px",number:3}],Rx=[{type:16,flags:0,number:50}],Ox=function(A){return A.width>A.height?new Ar(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new Hx(A,n,t.styles));else if(Gn(n))if(X0(n)&&n.assignedNodes)n.assignedNodes().forEach(function(o){return ma(A,o,t,r)});else{var s=k0(A,n);s.styles.isVisible()&&(_x(n,s,r)?s.flags|=4:Px(s.styles)&&(s.flags|=2),Kx.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?ma(A,n.shadowRoot,s,r):!cl(n)&&!j0(n)&&!fl(n)&&ma(A,n,s,r))}},k0=function(A,e){return Xf(e)?new O0(A,e):W0(e)?new b0(A,e):j0(e)?new M0(A,e):Nx(e)?new K0(A,e):kx(e)?new Wf(A,e):Vx(e)?new Ch(A,e):fl(e)?new _0(A,e):cl(e)?new P0(A,e):z0(e)?new N0(A,e):new Tt(A,e)},V0=function(A,e){var t=k0(A,e);return t.flags|=4,ma(A,e,t,t),t},_x=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||yh(A)&&t.styles.isTransparent()},Px=function(A){return A.isPositioned()||A.isFloating()},G0=function(A){return A.nodeType===Node.TEXT_NODE},Gn=function(A){return A.nodeType===Node.ELEMENT_NODE},zf=function(A){return Gn(A)&&typeof A.style<"u"&&!va(A)},va=function(A){return typeof A.className=="object"},Nx=function(A){return A.tagName==="LI"},kx=function(A){return A.tagName==="OL"},Vx=function(A){return A.tagName==="INPUT"},Gx=function(A){return A.tagName==="HTML"},j0=function(A){return A.tagName==="svg"},yh=function(A){return A.tagName==="BODY"},W0=function(A){return A.tagName==="CANVAS"},Bg=function(A){return A.tagName==="VIDEO"},Xf=function(A){return A.tagName==="IMG"},z0=function(A){return A.tagName==="IFRAME"},pg=function(A){return A.tagName==="STYLE"},jx=function(A){return A.tagName==="SCRIPT"},cl=function(A){return A.tagName==="TEXTAREA"},fl=function(A){return A.tagName==="SELECT"},X0=function(A){return A.tagName==="SLOT"},gg=function(A){return A.tagName.indexOf("-")>0},Wx=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(o){var a=t.counters[o.counter];a&&o.increment!==0&&(i=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=o.increment)});var s=[];return i&&n.forEach(function(o){var a=t.counters[o.counter];s.push(o.counter),a||(a=t.counters[o.counter]=[]),a.push(o.reset)}),s},A}(),wg={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},mg={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},zx={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Xx={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Qn=function(A,e,t,r,n,i){return At?_s(A,n,i.length>0):r.integers.reduce(function(s,o,a){for(;A>=o;)A-=o,s+=r.values[a];return s},"")+i},J0=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},kA=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+(J0(Math.abs(A),i,r,function(s){return VA(Math.floor(s%i)+e)})+n)},Vr=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return J0(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},Sn=1,or=2,ar=4,As=8,Pt=function(A,e,t,r,n,i){if(A<-9999||A>9999)return _s(A,4,n.length>0);var s=Math.abs(A),o=n;if(s===0)return e[0]+o;for(var a=0;s>0&&a<=4;a++){var l=s%10;l===0&&qA(i,Sn)&&o!==""?o=e[l]+o:l>1||l===1&&a===0||l===1&&a===1&&qA(i,or)||l===1&&a===1&&qA(i,ar)&&A>100||l===1&&a>1&&qA(i,As)?o=e[l]+(a>0?t[a-1]:"")+o:l===1&&a>0&&(o=t[a-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},vg="十百千萬",Cg="拾佰仟萬",yg="マイナス",hc="마이너스",_s=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=kA(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Vr(A,"〇一二三四五六七八九",n);case 6:return Qn(A,1,3999,wg,3,r).toLowerCase();case 7:return Qn(A,1,3999,wg,3,r);case 8:return kA(A,945,969,!1,r);case 9:return kA(A,97,122,!1,r);case 10:return kA(A,65,90,!1,r);case 11:return kA(A,1632,1641,!0,r);case 12:case 49:return Qn(A,1,9999,mg,3,r);case 35:return Qn(A,1,9999,mg,3,r).toLowerCase();case 13:return kA(A,2534,2543,!0,r);case 14:case 30:return kA(A,6112,6121,!0,r);case 15:return Vr(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Vr(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Pt(A,"零一二三四五六七八九",vg,"負",n,or|ar|As);case 47:return Pt(A,"零壹貳參肆伍陸柒捌玖",Cg,"負",n,Sn|or|ar|As);case 42:return Pt(A,"零一二三四五六七八九",vg,"负",n,or|ar|As);case 41:return Pt(A,"零壹贰叁肆伍陆柒捌玖",Cg,"负",n,Sn|or|ar|As);case 26:return Pt(A,"〇一二三四五六七八九","十百千万",yg,n,0);case 25:return Pt(A,"零壱弐参四伍六七八九","拾百千万",yg,n,Sn|or|ar);case 31:return Pt(A,"영일이삼사오육칠팔구","십백천만",hc,i,Sn|or|ar);case 33:return Pt(A,"零一二三四五六七八九","十百千萬",hc,i,0);case 32:return Pt(A,"零壹貳參四五六七八九","拾百千",hc,i,Sn|or|ar);case 18:return kA(A,2406,2415,!0,r);case 20:return Qn(A,1,19999,Xx,3,r);case 21:return kA(A,2790,2799,!0,r);case 22:return kA(A,2662,2671,!0,r);case 22:return Qn(A,1,10999,zx,3,r);case 23:return Vr(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Vr(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return kA(A,3302,3311,!0,r);case 28:return Vr(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Vr(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return kA(A,3792,3801,!0,r);case 37:return kA(A,6160,6169,!0,r);case 38:return kA(A,4160,4169,!0,r);case 39:return kA(A,2918,2927,!0,r);case 40:return kA(A,1776,1785,!0,r);case 43:return kA(A,3046,3055,!0,r);case 44:return kA(A,3174,3183,!0,r);case 45:return kA(A,3664,3673,!0,r);case 46:return kA(A,3872,3881,!0,r);case 3:default:return kA(A,48,57,!0,r)}},Y0="data-html2canvas-ignore",Qg=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Wx,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=Jx(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,o=n.contentWindow,a=o.document,l=qx(n).then(function(){return Fe(r,void 0,void 0,function(){var u,c;return me(this,function(f){switch(f.label){case 0:return this.scrolledElements.forEach(tL),o&&(o.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(o.scrollY!==t.top||o.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(o.scrollX-t.left,o.scrollY-t.top,0,0))),u=this.options.onclone,c=this.clonedReferenceElement,typeof c>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:f.sent(),f.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Zx(a)]:[3,4];case 3:f.sent(),f.label=4;case 4:return typeof u=="function"?[2,Promise.resolve().then(function(){return u(a,c)}).then(function(){return n})]:[2,n]}})})});return a.open(),a.write(AL(document.doctype)+""),eL(this.referenceElement.ownerDocument,i,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),l},A.prototype.createElementClone=function(e){if(Gf(e,2))debugger;if(W0(e))return this.createCanvasClone(e);if(Bg(e))return this.createVideoClone(e);if(pg(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return Xf(t)&&(Xf(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),gg(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return Bc(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var o=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(o){var a=o.getContextAttributes();(a==null?void 0:a.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!Gn(t)||!jx(t)&&!t.hasAttribute(Y0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!Gn(t)||!pg(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(Gn(i)&&X0(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(o){return n.appendChildNode(t,o,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(G0(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&Gn(e)&&(zf(e)||va(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),o=r.getComputedStyle(e,":after");this.referenceElement===e&&zf(n)&&(this.clonedReferenceElement=n),yh(n)&&iL(n);var a=this.counters.parse(new Ag(this.context,i)),l=this.resolvePseudoContent(e,n,s,ps.BEFORE);gg(e)&&(t=!0),Bg(e)||this.cloneChildNodes(e,n,t),l&&n.insertBefore(l,n.firstChild);var u=this.resolvePseudoContent(e,n,o,ps.AFTER);return u&&n.appendChild(u),this.counters.pop(a),(i&&(this.options.copyStyles||va(e))&&!z0(e)||t)&&Bc(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(cl(e)||fl(e))&&(cl(n)||fl(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var s=r.content,o=t.ownerDocument;if(!(!o||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new Ag(this.context,r));var a=new NH(this.context,r),l=o.createElement("html2canvaspseudoelement");Bc(r,l),a.content.forEach(function(c){if(c.type===0)l.appendChild(o.createTextNode(c.value));else if(c.type===22){var f=o.createElement("img");f.src=c.value,f.style.opacity="1",l.appendChild(f)}else if(c.type===18){if(c.name==="attr"){var g=c.values.filter(yA);g.length&&l.appendChild(o.createTextNode(e.getAttribute(g[0].value)||""))}else if(c.name==="counter"){var B=c.values.filter(li),m=B[0],S=B[1];if(m&&yA(m)){var p=i.counters.getCounterValue(m.value),d=S&&yA(S)?Vf.parse(i.context,S.value):3;l.appendChild(o.createTextNode(_s(p,d,!1)))}}else if(c.name==="counters"){var w=c.values.filter(li),m=w[0],h=w[1],S=w[2];if(m&&yA(m)){var C=i.counters.getCounterValues(m.value),y=S&&yA(S)?Vf.parse(i.context,S.value):3,U=h&&h.type===0?h.value:"",v=C.map(function(b){return _s(b,y,!1)}).join(U);l.appendChild(o.createTextNode(v))}}}else if(c.type===20)switch(c.value){case"open-quote":l.appendChild(o.createTextNode($p(a.quotes,i.quoteDepth++,!0)));break;case"close-quote":l.appendChild(o.createTextNode($p(a.quotes,--i.quoteDepth,!1)));break;default:l.appendChild(o.createTextNode(c.value))}}),l.className=Jf+" "+Yf;var u=n===ps.BEFORE?" "+Jf:" "+Yf;return va(t)?t.className.baseValue+=u:t.className+=u,l}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),ps;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(ps||(ps={}));var Jx=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(Y0,"true"),A.body.appendChild(t),t},Yx=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},Zx=function(A){return Promise.all([].slice.call(A.images,0).map(Yx))},qx=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},$x=["all","d","content"],Bc=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);$x.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},AL=function(A){var e="";return A&&(e+=""),e},eL=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},tL=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},rL=":before",nL=":after",Jf="___html2canvas___pseudoelement_before",Yf="___html2canvas___pseudoelement_after",Fg=`{ content: "" !important; display: none !important; -}`,rL=function(A){nL(A,"."+Jf+eL+Fg+` - .`+Yf+tL+Fg)},nL=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Z0=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),iL=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(gc(e)||lL(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return Fe(this,void 0,void 0,function(){var t,r,n,i,s=this;return me(this,function(o){switch(o.label){case 0:return t=Z0.isSameOrigin(e),r=!pc(e)&&this._options.useCORS===!0&&ue.SUPPORT_CORS_IMAGES&&!t,n=!pc(e)&&!t&&!gc(e)&&typeof this._options.proxy=="string"&&ue.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!pc(e)&&!gc(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(a,l){var u=new Image;u.onload=function(){return a(u)},u.onerror=l,(uL(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return a(u)},500),s._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,s){var o=ue.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")i(a.response);else{var c=new FileReader;c.addEventListener("load",function(){return i(c.result)},!1),c.addEventListener("error",function(f){return s(f)},!1),c.readAsDataURL(a.response)}else s("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=s;var l=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var u=t._options.imageTimeout;a.timeout=u,a.ontimeout=function(){return s("Timed out ("+u+"ms) proxying "+n)}}a.send()})},A}(),sL=/^data:image\/svg\+xml/i,oL=/^data:image\/.*;base64,/i,aL=/^data:image\/.*/i,lL=function(A){return ue.SUPPORT_SVG_DRAWING||!cL(A)},pc=function(A){return aL.test(A)},uL=function(A){return oL.test(A)},gc=function(A){return A.substr(0,4)==="blob"},cL=function(A){return A.substr(-3).toLowerCase()==="svg"||sL.test(A)},j=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Fn=function(A,e,t){return new j(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Yo=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Fn(this.start,this.startControl,e),n=Fn(this.startControl,this.endControl,e),i=Fn(this.endControl,this.end,e),s=Fn(r,n,e),o=Fn(n,i,e),a=Fn(s,o,e);return t?new A(this.start,r,s,a):new A(a,o,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ye=function(A){return A.type===1},fL=function(){function A(e){var t=e.styles,r=e.bounds,n=qi(t.borderTopLeftRadius,r.width,r.height),i=n[0],s=n[1],o=qi(t.borderTopRightRadius,r.width,r.height),a=o[0],l=o[1],u=qi(t.borderBottomRightRadius,r.width,r.height),c=u[0],f=u[1],g=qi(t.borderBottomLeftRadius,r.width,r.height),B=g[0],m=g[1],S=[];S.push((i+a)/r.width),S.push((B+c)/r.width),S.push((s+m)/r.height),S.push((l+f)/r.height);var p=Math.max.apply(Math,S);p>1&&(i/=p,s/=p,a/=p,l/=p,c/=p,f/=p,B/=p,m/=p);var d=r.width-a,w=r.height-f,h=r.width-c,C=r.height-m,y=t.borderTopWidth,U=t.borderRightWidth,v=t.borderBottomWidth,E=t.borderLeftWidth,H=UA(t.paddingTop,e.bounds.width),b=UA(t.paddingRight,e.bounds.width),T=UA(t.paddingBottom,e.bounds.width),x=UA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?xA(r.left+E/3,r.top+y/3,i-E/3,s-y/3,gA.TOP_LEFT):new j(r.left+E/3,r.top+y/3),this.topRightBorderDoubleOuterBox=i>0||s>0?xA(r.left+d,r.top+y/3,a-U/3,l-y/3,gA.TOP_RIGHT):new j(r.left+r.width-U/3,r.top+y/3),this.bottomRightBorderDoubleOuterBox=c>0||f>0?xA(r.left+h,r.top+w,c-U/3,f-v/3,gA.BOTTOM_RIGHT):new j(r.left+r.width-U/3,r.top+r.height-v/3),this.bottomLeftBorderDoubleOuterBox=B>0||m>0?xA(r.left+E/3,r.top+C,B-E/3,m-v/3,gA.BOTTOM_LEFT):new j(r.left+E/3,r.top+r.height-v/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?xA(r.left+E*2/3,r.top+y*2/3,i-E*2/3,s-y*2/3,gA.TOP_LEFT):new j(r.left+E*2/3,r.top+y*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?xA(r.left+d,r.top+y*2/3,a-U*2/3,l-y*2/3,gA.TOP_RIGHT):new j(r.left+r.width-U*2/3,r.top+y*2/3),this.bottomRightBorderDoubleInnerBox=c>0||f>0?xA(r.left+h,r.top+w,c-U*2/3,f-v*2/3,gA.BOTTOM_RIGHT):new j(r.left+r.width-U*2/3,r.top+r.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=B>0||m>0?xA(r.left+E*2/3,r.top+C,B-E*2/3,m-v*2/3,gA.BOTTOM_LEFT):new j(r.left+E*2/3,r.top+r.height-v*2/3),this.topLeftBorderStroke=i>0||s>0?xA(r.left+E/2,r.top+y/2,i-E/2,s-y/2,gA.TOP_LEFT):new j(r.left+E/2,r.top+y/2),this.topRightBorderStroke=i>0||s>0?xA(r.left+d,r.top+y/2,a-U/2,l-y/2,gA.TOP_RIGHT):new j(r.left+r.width-U/2,r.top+y/2),this.bottomRightBorderStroke=c>0||f>0?xA(r.left+h,r.top+w,c-U/2,f-v/2,gA.BOTTOM_RIGHT):new j(r.left+r.width-U/2,r.top+r.height-v/2),this.bottomLeftBorderStroke=B>0||m>0?xA(r.left+E/2,r.top+C,B-E/2,m-v/2,gA.BOTTOM_LEFT):new j(r.left+E/2,r.top+r.height-v/2),this.topLeftBorderBox=i>0||s>0?xA(r.left,r.top,i,s,gA.TOP_LEFT):new j(r.left,r.top),this.topRightBorderBox=a>0||l>0?xA(r.left+d,r.top,a,l,gA.TOP_RIGHT):new j(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||f>0?xA(r.left+h,r.top+w,c,f,gA.BOTTOM_RIGHT):new j(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=B>0||m>0?xA(r.left,r.top+C,B,m,gA.BOTTOM_LEFT):new j(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||s>0?xA(r.left+E,r.top+y,Math.max(0,i-E),Math.max(0,s-y),gA.TOP_LEFT):new j(r.left+E,r.top+y),this.topRightPaddingBox=a>0||l>0?xA(r.left+Math.min(d,r.width-U),r.top+y,d>r.width+U?0:Math.max(0,a-U),Math.max(0,l-y),gA.TOP_RIGHT):new j(r.left+r.width-U,r.top+y),this.bottomRightPaddingBox=c>0||f>0?xA(r.left+Math.min(h,r.width-E),r.top+Math.min(w,r.height-v),Math.max(0,c-U),Math.max(0,f-v),gA.BOTTOM_RIGHT):new j(r.left+r.width-U,r.top+r.height-v),this.bottomLeftPaddingBox=B>0||m>0?xA(r.left+E,r.top+Math.min(C,r.height-v),Math.max(0,B-E),Math.max(0,m-v),gA.BOTTOM_LEFT):new j(r.left+E,r.top+r.height-v),this.topLeftContentBox=i>0||s>0?xA(r.left+E+x,r.top+y+H,Math.max(0,i-(E+x)),Math.max(0,s-(y+H)),gA.TOP_LEFT):new j(r.left+E+x,r.top+y+H),this.topRightContentBox=a>0||l>0?xA(r.left+Math.min(d,r.width+E+x),r.top+y+H,d>r.width+E+x?0:a-E+x,l-(y+H),gA.TOP_RIGHT):new j(r.left+r.width-(U+b),r.top+y+H),this.bottomRightContentBox=c>0||f>0?xA(r.left+Math.min(h,r.width-(E+x)),r.top+Math.min(w,r.height+y+H),Math.max(0,c-(U+b)),f-(v+T),gA.BOTTOM_RIGHT):new j(r.left+r.width-(U+b),r.top+r.height-(v+T)),this.bottomLeftContentBox=B>0||m>0?xA(r.left+E+x,r.top+C,Math.max(0,B-(E+x)),m-(v+T),gA.BOTTOM_LEFT):new j(r.left+E+x,r.top+r.height-(v+T))}return A}(),gA;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var xA=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),s=t*i,o=r*i,a=A+t,l=e+r;switch(n){case gA.TOP_LEFT:return new Yo(new j(A,l),new j(A,l-o),new j(a-s,e),new j(a,e));case gA.TOP_RIGHT:return new Yo(new j(A,e),new j(A+s,e),new j(a,l-o),new j(a,l));case gA.BOTTOM_RIGHT:return new Yo(new j(a,e),new j(a,e+o),new j(A+s,l),new j(A,l));case gA.BOTTOM_LEFT:default:return new Yo(new j(a,l),new j(a-s,l),new j(A,e+o),new j(A,e))}},dl=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},dL=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},hl=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},hL=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Zo=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),BL=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),pL=function(A){return A.type===0},q0=function(A){return A.type===1},gL=function(A){return A.type===2},Ug=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},wL=function(A,e,t,r,n){return A.map(function(i,s){switch(s){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},$0=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),AC=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new fL(this.container),this.container.styles.opacity<1&&this.effects.push(new BL(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new hL(r,n,i))}if(this.container.styles.overflowX!==0){var s=dl(this.curves),o=hl(this.curves);Ug(s,o)?this.effects.push(new Zo(s,6)):(this.effects.push(new Zo(s,2)),this.effects.push(new Zo(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(a){return!q0(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=dl(r.curves),o=hl(r.curves);Ug(s,o)||n.unshift(new Zo(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(a){return qA(a.target,e)})},A}(),Zf=function(A,e,t,r){A.container.elements.forEach(function(n){var i=qA(n.flags,4),s=qA(n.flags,2),o=new AC(n,A);qA(n.styles.display,2048)&&r.push(o);var a=qA(n.flags,8)?[]:r;if(i||s){var l=i||n.styles.isPositioned()?t:e,u=new $0(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var c=n.styles.zIndex.order;if(c<0){var f=0;l.negativeZIndex.some(function(B,m){return c>B.element.container.styles.zIndex.order?(f=m,!1):f>0}),l.negativeZIndex.splice(f,0,u)}else if(c>0){var g=0;l.positiveZIndex.some(function(B,m){return c>=B.element.container.styles.zIndex.order?(g=m+1,!1):g>0}),l.positiveZIndex.splice(g,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Zf(o,u,i?u:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Zf(o,e,t,a);qA(n.flags,8)&&eC(n,a)})},eC=function(A,e){for(var t=A instanceof Wf?A.start:1,r=A instanceof Wf?A.reversed:!1,n=0;n"u"?A[0]:t},EL=function(A,e,t,r,n){var i=e[0],s=e[1],o=t[0],a=t[1];switch(A){case 2:return[new j(Math.round(r.left),Math.round(r.top+s)),new j(Math.round(r.left+r.width),Math.round(r.top+s)),new j(Math.round(r.left+r.width),Math.round(a+r.top+s)),new j(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new j(Math.round(r.left+i),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.height+r.top)),new j(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new j(Math.round(r.left+i),Math.round(r.top+s)),new j(Math.round(r.left+i+o),Math.round(r.top+s)),new j(Math.round(r.left+i+o),Math.round(r.top+s+a)),new j(Math.round(r.left+i),Math.round(r.top+s+a))];default:return[new j(Math.round(n.left),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.height+n.top)),new j(Math.round(n.left),Math.round(n.height+n.top))]}},SL="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Sg="Hidden Text",IL=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=SL,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Sg)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Sg)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:o,middle:a}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),rC=function(){function A(e,t){this.context=e,this.options=t}return A}(),HL=1e4,xL=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new IL(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),gL(t)&&(this.ctx.globalAlpha=t.opacity),pL(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),q0(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return Fe(this,void 0,void 0,function(){var r;return me(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return Fe(this,void 0,void 0,function(){return me(this,function(r){switch(r.label){case 0:if(qA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=vh(t.text);s.reduce(function(o,a){return i.ctx.fillText(a,o,t.bounds.top+n),o+i.ctx.measureText(a).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=OL(t.fontFamily).join(", "),i=$s(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return Fe(this,void 0,void 0,function(){var n,i,s,o,a,l,u,c,f=this;return me(this,function(g){return n=this.createFontStyle(r),i=n[0],s=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,o),l=a.baseline,u=a.middle,c=r.paintOrder,t.textBounds.forEach(function(B){c.forEach(function(m){switch(m){case 0:f.ctx.fillStyle=ne(r.color),f.renderTextWithLetterSpacing(B,r.letterSpacing,l);var S=r.textShadow;S.length&&B.text.trim().length&&(S.slice(0).reverse().forEach(function(p){f.ctx.shadowColor=ne(p.color),f.ctx.shadowOffsetX=p.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=p.offsetY.number*f.options.scale,f.ctx.shadowBlur=p.blur.number,f.renderTextWithLetterSpacing(B,r.letterSpacing,l)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),r.textDecorationLine.length&&(f.ctx.fillStyle=ne(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:f.ctx.fillRect(B.bounds.left,Math.round(B.bounds.top+l),B.bounds.width,1);break;case 2:f.ctx.fillRect(B.bounds.left,Math.round(B.bounds.top),B.bounds.width,1);break;case 3:f.ctx.fillRect(B.bounds.left,Math.ceil(B.bounds.top+u),B.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&B.text.trim().length&&(f.ctx.strokeStyle=ne(r.webkitTextStrokeColor),f.ctx.lineWidth=r.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+l)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=Bl(t),s=hl(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return Fe(this,void 0,void 0,function(){var r,n,i,s,o,a,d,d,l,u,c,f,h,g,B,C,m,S,p,d,w,h,C;return me(this,function(y){switch(y.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,s=0,o=r.textNodes,y.label=1;case 1:return s0&&N>0&&(v=i.ctx.createPattern(C,"repeat"),i.renderRepeat(H,v,eA,W))):gI(u)&&(E=wc(t,r,[null,null,null]),H=E[0],b=E[1],T=E[2],x=E[3],N=E[4],$=u.position.length===0?[gh]:u.position,eA=UA($[0],x),W=UA($[$.length-1],N),M=fI(u,eA,W,x,N),V=M[0],q=M[1],V>0&&q>0&&(dA=i.ctx.createRadialGradient(b+eA,T+W,0,b+eA,T+W,V),Jp(u.stops,V*2).forEach(function(Be){return dA.addColorStop(Be.stop,ne(Be.color))}),i.path(H),i.ctx.fillStyle=dA,V!==q?(pA=t.bounds.left+.5*t.bounds.width,te=t.bounds.top+.5*t.bounds.height,uA=q/V,_A=1/uA,i.ctx.save(),i.ctx.translate(pA,te),i.ctx.transform(1,0,0,uA,0,0),i.ctx.translate(-pA,-te),i.ctx.fillRect(b,_A*(T-te)+te,x,N*_A),i.ctx.restore()):i.ctx.fill())),PA.label=6;case 6:return r--,[2]}})},i=this,s=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return s0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,3)];case 6:return f.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,t.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,t.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,s){return Fe(this,void 0,void 0,function(){var o,a,l,u,c,f,g,B,m,S,p,d,w,h,C,y,C,y;return me(this,function(U){return this.ctx.save(),o=yL(i,n),a=Eg(i,n),s===2&&(this.path(a),this.ctx.clip()),Ye(a[0])?(l=a[0].start.x,u=a[0].start.y):(l=a[0].x,u=a[0].y),Ye(a[1])?(c=a[1].end.x,f=a[1].end.y):(c=a[1].x,f=a[1].y),n===0||n===2?g=Math.abs(l-c):g=Math.abs(u-f),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(a.slice(0,2)),B=r<3?r*3:r*2,m=r<3?r*2:r,s===3&&(B=r,m=r),S=!0,g<=B*2?S=!1:g<=B*2+m?(p=g/(2*B+m),B*=p,m*=p):(d=Math.floor((g+m)/(B+m)),w=(g-d*B)/(d-1),h=(g-(d+1)*B)/d,m=h<=0||Math.abs(m-w)e=>{const t=VL.call(e);return A[t]||(A[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Rt=A=>(A=A.toLowerCase(),e=>ql(e)===A),$l=A=>e=>typeof e===A,{isArray:pi}=Array,Ps=$l("undefined");function GL(A){return A!==null&&!Ps(A)&&A.constructor!==null&&!Ps(A.constructor)&&et(A.constructor.isBuffer)&&A.constructor.isBuffer(A)}const iC=Rt("ArrayBuffer");function jL(A){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(A):e=A&&A.buffer&&iC(A.buffer),e}const WL=$l("string"),et=$l("function"),sC=$l("number"),Au=A=>A!==null&&typeof A=="object",zL=A=>A===!0||A===!1,Ca=A=>{if(ql(A)!=="object")return!1;const e=Qh(A);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in A)&&!(Symbol.iterator in A)},XL=Rt("Date"),JL=Rt("File"),YL=Rt("Blob"),ZL=Rt("FileList"),qL=A=>Au(A)&&et(A.pipe),$L=A=>{let e;return A&&(typeof FormData=="function"&&A instanceof FormData||et(A.append)&&((e=ql(A))==="formdata"||e==="object"&&et(A.toString)&&A.toString()==="[object FormData]"))},A4=Rt("URLSearchParams"),e4=A=>A.trim?A.trim():A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ao(A,e,{allOwnKeys:t=!1}={}){if(A===null||typeof A>"u")return;let r,n;if(typeof A!="object"&&(A=[A]),pi(A))for(r=0,n=A.length;r0;)if(n=t[r],e===n.toLowerCase())return n;return null}const aC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),lC=A=>!Ps(A)&&A!==aC;function qf(){const{caseless:A}=lC(this)&&this||{},e={},t=(r,n)=>{const i=A&&oC(e,n)||n;Ca(e[i])&&Ca(r)?e[i]=qf(e[i],r):Ca(r)?e[i]=qf({},r):pi(r)?e[i]=r.slice():e[i]=r};for(let r=0,n=arguments.length;r(Ao(e,(n,i)=>{t&&et(n)?A[i]=nC(n,t):A[i]=n},{allOwnKeys:r}),A),r4=A=>(A.charCodeAt(0)===65279&&(A=A.slice(1)),A),n4=(A,e,t,r)=>{A.prototype=Object.create(e.prototype,r),A.prototype.constructor=A,Object.defineProperty(A,"super",{value:e.prototype}),t&&Object.assign(A.prototype,t)},i4=(A,e,t,r)=>{let n,i,s;const o={};if(e=e||{},A==null)return e;do{for(n=Object.getOwnPropertyNames(A),i=n.length;i-- >0;)s=n[i],(!r||r(s,A,e))&&!o[s]&&(e[s]=A[s],o[s]=!0);A=t!==!1&&Qh(A)}while(A&&(!t||t(A,e))&&A!==Object.prototype);return e},s4=(A,e,t)=>{A=String(A),(t===void 0||t>A.length)&&(t=A.length),t-=e.length;const r=A.indexOf(e,t);return r!==-1&&r===t},o4=A=>{if(!A)return null;if(pi(A))return A;let e=A.length;if(!sC(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=A[e];return t},a4=(A=>e=>A&&e instanceof A)(typeof Uint8Array<"u"&&Qh(Uint8Array)),l4=(A,e)=>{const r=(A&&A[Symbol.iterator]).call(A);let n;for(;(n=r.next())&&!n.done;){const i=n.value;e.call(A,i[0],i[1])}},u4=(A,e)=>{let t;const r=[];for(;(t=A.exec(e))!==null;)r.push(t);return r},c4=Rt("HTMLFormElement"),f4=A=>A.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Ig=(({hasOwnProperty:A})=>(e,t)=>A.call(e,t))(Object.prototype),d4=Rt("RegExp"),uC=(A,e)=>{const t=Object.getOwnPropertyDescriptors(A),r={};Ao(t,(n,i)=>{e(n,i,A)!==!1&&(r[i]=n)}),Object.defineProperties(A,r)},h4=A=>{uC(A,(e,t)=>{if(et(A)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=A[t];if(et(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},B4=(A,e)=>{const t={},r=n=>{n.forEach(i=>{t[i]=!0})};return pi(A)?r(A):r(String(A).split(e)),t},p4=()=>{},g4=(A,e)=>(A=+A,Number.isFinite(A)?A:e),mc="abcdefghijklmnopqrstuvwxyz",Hg="0123456789",cC={DIGIT:Hg,ALPHA:mc,ALPHA_DIGIT:mc+mc.toUpperCase()+Hg},w4=(A=16,e=cC.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;A--;)t+=e[Math.random()*r|0];return t};function m4(A){return!!(A&&et(A.append)&&A[Symbol.toStringTag]==="FormData"&&A[Symbol.iterator])}const v4=A=>{const e=new Array(10),t=(r,n)=>{if(Au(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[n]=r;const i=pi(r)?[]:{};return Ao(r,(s,o)=>{const a=t(s,n+1);!Ps(a)&&(i[o]=a)}),e[n]=void 0,i}}return r};return t(A,0)},C4=Rt("AsyncFunction"),y4=A=>A&&(Au(A)||et(A))&&et(A.then)&&et(A.catch),R={isArray:pi,isArrayBuffer:iC,isBuffer:GL,isFormData:$L,isArrayBufferView:jL,isString:WL,isNumber:sC,isBoolean:zL,isObject:Au,isPlainObject:Ca,isUndefined:Ps,isDate:XL,isFile:JL,isBlob:YL,isRegExp:d4,isFunction:et,isStream:qL,isURLSearchParams:A4,isTypedArray:a4,isFileList:ZL,forEach:Ao,merge:qf,extend:t4,trim:e4,stripBOM:r4,inherits:n4,toFlatObject:i4,kindOf:ql,kindOfTest:Rt,endsWith:s4,toArray:o4,forEachEntry:l4,matchAll:u4,isHTMLForm:c4,hasOwnProperty:Ig,hasOwnProp:Ig,reduceDescriptors:uC,freezeMethods:h4,toObjectSet:B4,toCamelCase:f4,noop:p4,toFiniteNumber:g4,findKey:oC,global:aC,isContextDefined:lC,ALPHABET:cC,generateString:w4,isSpecCompliantForm:m4,toJSONObject:v4,isAsyncFn:C4,isThenable:y4};function hA(A,e,t,r,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=A,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),n&&(this.response=n)}R.inherits(hA,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const fC=hA.prototype,dC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(A=>{dC[A]={value:A}});Object.defineProperties(hA,dC);Object.defineProperty(fC,"isAxiosError",{value:!0});hA.from=(A,e,t,r,n,i)=>{const s=Object.create(fC);return R.toFlatObject(A,s,function(a){return a!==Error.prototype},o=>o!=="isAxiosError"),hA.call(s,A.message,e,t,r,n),s.cause=A,s.name=A.name,i&&Object.assign(s,i),s};const Q4=null;function $f(A){return R.isPlainObject(A)||R.isArray(A)}function hC(A){return R.endsWith(A,"[]")?A.slice(0,-2):A}function xg(A,e,t){return A?A.concat(e).map(function(n,i){return n=hC(n),!t&&i?"["+n+"]":n}).join(t?".":""):e}function F4(A){return R.isArray(A)&&!A.some($f)}const U4=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function eu(A,e,t){if(!R.isObject(A))throw new TypeError("target must be an object");e=e||new FormData,t=R.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,S){return!R.isUndefined(S[m])});const r=t.metaTokens,n=t.visitor||u,i=t.dots,s=t.indexes,a=(t.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(e);if(!R.isFunction(n))throw new TypeError("visitor must be a function");function l(B){if(B===null)return"";if(R.isDate(B))return B.toISOString();if(!a&&R.isBlob(B))throw new hA("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(B)||R.isTypedArray(B)?a&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function u(B,m,S){let p=B;if(B&&!S&&typeof B=="object"){if(R.endsWith(m,"{}"))m=r?m:m.slice(0,-2),B=JSON.stringify(B);else if(R.isArray(B)&&F4(B)||(R.isFileList(B)||R.endsWith(m,"[]"))&&(p=R.toArray(B)))return m=hC(m),p.forEach(function(w,h){!(R.isUndefined(w)||w===null)&&e.append(s===!0?xg([m],h,i):s===null?m:m+"[]",l(w))}),!1}return $f(B)?!0:(e.append(xg(S,m,i),l(B)),!1)}const c=[],f=Object.assign(U4,{defaultVisitor:u,convertValue:l,isVisitable:$f});function g(B,m){if(!R.isUndefined(B)){if(c.indexOf(B)!==-1)throw Error("Circular reference detected in "+m.join("."));c.push(B),R.forEach(B,function(p,d){(!(R.isUndefined(p)||p===null)&&n.call(e,p,R.isString(d)?d.trim():d,m,f))===!0&&g(p,m?m.concat(d):[d])}),c.pop()}}if(!R.isObject(A))throw new TypeError("data must be an object");return g(A),e}function Lg(A){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(A).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Fh(A,e){this._pairs=[],A&&eu(A,this,e)}const BC=Fh.prototype;BC.append=function(e,t){this._pairs.push([e,t])};BC.toString=function(e){const t=e?function(r){return e.call(this,r,Lg)}:Lg;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function E4(A){return encodeURIComponent(A).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pC(A,e,t){if(!e)return A;const r=t&&t.encode||E4,n=t&&t.serialize;let i;if(n?i=n(e,t):i=R.isURLSearchParams(e)?e.toString():new Fh(e,t).toString(r),i){const s=A.indexOf("#");s!==-1&&(A=A.slice(0,s)),A+=(A.indexOf("?")===-1?"?":"&")+i}return A}class S4{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){R.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Dg=S4,gC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},I4=typeof URLSearchParams<"u"?URLSearchParams:Fh,H4=typeof FormData<"u"?FormData:null,x4=typeof Blob<"u"?Blob:null,L4=(()=>{let A;return typeof navigator<"u"&&((A=navigator.product)==="ReactNative"||A==="NativeScript"||A==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),D4=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),St={isBrowser:!0,classes:{URLSearchParams:I4,FormData:H4,Blob:x4},isStandardBrowserEnv:L4,isStandardBrowserWebWorkerEnv:D4,protocols:["http","https","file","blob","url","data"]};function T4(A,e){return eu(A,new St.classes.URLSearchParams,Object.assign({visitor:function(t,r,n,i){return St.isNode&&R.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function R4(A){return R.matchAll(/\w+|\[(\w*)]/g,A).map(e=>e[0]==="[]"?"":e[1]||e[0])}function O4(A){const e={},t=Object.keys(A);let r;const n=t.length;let i;for(r=0;r=t.length;return s=!s&&R.isArray(n)?n.length:s,a?(R.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r,!o):((!n[s]||!R.isObject(n[s]))&&(n[s]=[]),e(t,r,n[s],i)&&R.isArray(n[s])&&(n[s]=O4(n[s])),!o)}if(R.isFormData(A)&&R.isFunction(A.entries)){const t={};return R.forEachEntry(A,(r,n)=>{e(R4(r),n,t,0)}),t}return null}const b4={"Content-Type":void 0};function M4(A,e,t){if(R.isString(A))try{return(e||JSON.parse)(A),R.trim(A)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(A)}const tu={transitional:gC,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=R.isObject(e);if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return n&&n?JSON.stringify(wC(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return T4(e,this.formSerializer).toString();if((o=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return eu(o?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),M4(e)):e}],transformResponse:[function(e){const t=this.transitional||tu.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(e&&R.isString(e)&&(r&&!this.responseType||n)){const s=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?hA.from(o,hA.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};R.forEach(["delete","get","head"],function(e){tu.headers[e]={}});R.forEach(["post","put","patch"],function(e){tu.headers[e]=R.merge(b4)});const Uh=tu,K4=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),_4=A=>{const e={};let t,r,n;return A&&A.split(` -`).forEach(function(s){n=s.indexOf(":"),t=s.substring(0,n).trim().toLowerCase(),r=s.substring(n+1).trim(),!(!t||e[t]&&K4[t])&&(t==="set-cookie"?e[t]?e[t].push(r):e[t]=[r]:e[t]=e[t]?e[t]+", "+r:r)}),e},Tg=Symbol("internals");function ki(A){return A&&String(A).trim().toLowerCase()}function ya(A){return A===!1||A==null?A:R.isArray(A)?A.map(ya):String(A)}function P4(A){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(A);)e[r[1]]=r[2];return e}const N4=A=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(A.trim());function vc(A,e,t,r,n){if(R.isFunction(r))return r.call(this,e,t);if(n&&(e=t),!!R.isString(e)){if(R.isString(r))return e.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(e)}}function k4(A){return A.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function V4(A,e){const t=R.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(A,r+t,{value:function(n,i,s){return this[r].call(this,e,n,i,s)},configurable:!0})})}class ru{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(o,a,l){const u=ki(a);if(!u)throw new Error("header name must be a non-empty string");const c=R.findKey(n,u);(!c||n[c]===void 0||l===!0||l===void 0&&n[c]!==!1)&&(n[c||a]=ya(o))}const s=(o,a)=>R.forEach(o,(l,u)=>i(l,u,a));return R.isPlainObject(e)||e instanceof this.constructor?s(e,t):R.isString(e)&&(e=e.trim())&&!N4(e)?s(_4(e),t):e!=null&&i(t,e,r),this}get(e,t){if(e=ki(e),e){const r=R.findKey(this,e);if(r){const n=this[r];if(!t)return n;if(t===!0)return P4(n);if(R.isFunction(t))return t.call(this,n,r);if(R.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ki(e),e){const r=R.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||vc(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let n=!1;function i(s){if(s=ki(s),s){const o=R.findKey(r,s);o&&(!t||vc(r,r[o],o,t))&&(delete r[o],n=!0)}}return R.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];(!e||vc(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return R.forEach(this,(n,i)=>{const s=R.findKey(r,i);if(s){t[s]=ya(n),delete t[i];return}const o=e?k4(i):String(i).trim();o!==i&&delete t[i],t[o]=ya(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return R.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&R.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(n=>r.set(n)),r}static accessor(e){const r=(this[Tg]=this[Tg]={accessors:{}}).accessors,n=this.prototype;function i(s){const o=ki(s);r[o]||(V4(n,s),r[o]=!0)}return R.isArray(e)?e.forEach(i):i(e),this}}ru.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.freezeMethods(ru.prototype);R.freezeMethods(ru);const Jt=ru;function Cc(A,e){const t=this||Uh,r=e||t,n=Jt.from(r.headers);let i=r.data;return R.forEach(A,function(o){i=o.call(t,i,n.normalize(),e?e.status:void 0)}),n.normalize(),i}function mC(A){return!!(A&&A.__CANCEL__)}function eo(A,e,t){hA.call(this,A??"canceled",hA.ERR_CANCELED,e,t),this.name="CanceledError"}R.inherits(eo,hA,{__CANCEL__:!0});function G4(A,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?A(t):e(new hA("Request failed with status code "+t.status,[hA.ERR_BAD_REQUEST,hA.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const j4=St.isStandardBrowserEnv?function(){return{write:function(t,r,n,i,s,o){const a=[];a.push(t+"="+encodeURIComponent(r)),R.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),R.isString(i)&&a.push("path="+i),R.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function W4(A){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(A)}function z4(A,e){return e?A.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):A}function vC(A,e){return A&&!W4(e)?z4(A,e):e}const X4=St.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(s){const o=R.isString(s)?n(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}();function J4(A){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(A);return e&&e[1]||""}function Y4(A,e){A=A||10;const t=new Array(A),r=new Array(A);let n=0,i=0,s;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=r[i];s||(s=l),t[n]=a,r[n]=l;let c=i,f=0;for(;c!==n;)f+=t[c++],c=c%A;if(n=(n+1)%A,n===i&&(i=(i+1)%A),l-s{const i=n.loaded,s=n.lengthComputable?n.total:void 0,o=i-t,a=r(o),l=i<=s;t=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:a||void 0,estimated:a&&s&&l?(s-i)/a:void 0,event:n};u[e?"download":"upload"]=!0,A(u)}}const Z4=typeof XMLHttpRequest<"u",q4=Z4&&function(A){return new Promise(function(t,r){let n=A.data;const i=Jt.from(A.headers).normalize(),s=A.responseType;let o;function a(){A.cancelToken&&A.cancelToken.unsubscribe(o),A.signal&&A.signal.removeEventListener("abort",o)}R.isFormData(n)&&(St.isStandardBrowserEnv||St.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(A.auth){const g=A.auth.username||"",B=A.auth.password?unescape(encodeURIComponent(A.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+B))}const u=vC(A.baseURL,A.url);l.open(A.method.toUpperCase(),pC(u,A.params,A.paramsSerializer),!0),l.timeout=A.timeout;function c(){if(!l)return;const g=Jt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:A,request:l};G4(function(p){t(p),a()},function(p){r(p),a()},m),l=null}if("onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(c)},l.onabort=function(){l&&(r(new hA("Request aborted",hA.ECONNABORTED,A,l)),l=null)},l.onerror=function(){r(new hA("Network Error",hA.ERR_NETWORK,A,l)),l=null},l.ontimeout=function(){let B=A.timeout?"timeout of "+A.timeout+"ms exceeded":"timeout exceeded";const m=A.transitional||gC;A.timeoutErrorMessage&&(B=A.timeoutErrorMessage),r(new hA(B,m.clarifyTimeoutError?hA.ETIMEDOUT:hA.ECONNABORTED,A,l)),l=null},St.isStandardBrowserEnv){const g=(A.withCredentials||X4(u))&&A.xsrfCookieName&&j4.read(A.xsrfCookieName);g&&i.set(A.xsrfHeaderName,g)}n===void 0&&i.setContentType(null),"setRequestHeader"in l&&R.forEach(i.toJSON(),function(B,m){l.setRequestHeader(m,B)}),R.isUndefined(A.withCredentials)||(l.withCredentials=!!A.withCredentials),s&&s!=="json"&&(l.responseType=A.responseType),typeof A.onDownloadProgress=="function"&&l.addEventListener("progress",Rg(A.onDownloadProgress,!0)),typeof A.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Rg(A.onUploadProgress)),(A.cancelToken||A.signal)&&(o=g=>{l&&(r(!g||g.type?new eo(null,A,l):g),l.abort(),l=null)},A.cancelToken&&A.cancelToken.subscribe(o),A.signal&&(A.signal.aborted?o():A.signal.addEventListener("abort",o)));const f=J4(u);if(f&&St.protocols.indexOf(f)===-1){r(new hA("Unsupported protocol "+f+":",hA.ERR_BAD_REQUEST,A));return}l.send(n||null)})},Qa={http:Q4,xhr:q4};R.forEach(Qa,(A,e)=>{if(A){try{Object.defineProperty(A,"name",{value:e})}catch{}Object.defineProperty(A,"adapterName",{value:e})}});const $4={getAdapter:A=>{A=R.isArray(A)?A:[A];const{length:e}=A;let t,r;for(let n=0;nA instanceof Jt?A.toJSON():A;function ui(A,e){e=e||{};const t={};function r(l,u,c){return R.isPlainObject(l)&&R.isPlainObject(u)?R.merge.call({caseless:c},l,u):R.isPlainObject(u)?R.merge({},u):R.isArray(u)?u.slice():u}function n(l,u,c){if(R.isUndefined(u)){if(!R.isUndefined(l))return r(void 0,l,c)}else return r(l,u,c)}function i(l,u){if(!R.isUndefined(u))return r(void 0,u)}function s(l,u){if(R.isUndefined(u)){if(!R.isUndefined(l))return r(void 0,l)}else return r(void 0,u)}function o(l,u,c){if(c in e)return r(l,u);if(c in A)return r(void 0,l)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(l,u)=>n(bg(l),bg(u),!0)};return R.forEach(Object.keys(Object.assign({},A,e)),function(u){const c=a[u]||n,f=c(A[u],e[u],u);R.isUndefined(f)&&c!==o||(t[u]=f)}),t}const CC="1.4.0",Eh={};["object","boolean","number","function","string","symbol"].forEach((A,e)=>{Eh[A]=function(r){return typeof r===A||"a"+(e<1?"n ":" ")+A}});const Mg={};Eh.transitional=function(e,t,r){function n(i,s){return"[Axios v"+CC+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,o)=>{if(e===!1)throw new hA(n(s," has been removed"+(t?" in "+t:"")),hA.ERR_DEPRECATED);return t&&!Mg[s]&&(Mg[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,o):!0}};function AD(A,e,t){if(typeof A!="object")throw new hA("options must be an object",hA.ERR_BAD_OPTION_VALUE);const r=Object.keys(A);let n=r.length;for(;n-- >0;){const i=r[n],s=e[i];if(s){const o=A[i],a=o===void 0||s(o,i,A);if(a!==!0)throw new hA("option "+i+" must be "+a,hA.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new hA("Unknown option "+i,hA.ERR_BAD_OPTION)}}const Ad={assertOptions:AD,validators:Eh},ir=Ad.validators;class pl{constructor(e){this.defaults=e,this.interceptors={request:new Dg,response:new Dg}}request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ui(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;r!==void 0&&Ad.assertOptions(r,{silentJSONParsing:ir.transitional(ir.boolean),forcedJSONParsing:ir.transitional(ir.boolean),clarifyTimeoutError:ir.transitional(ir.boolean)},!1),n!=null&&(R.isFunction(n)?t.paramsSerializer={serialize:n}:Ad.assertOptions(n,{encode:ir.function,serialize:ir.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s;s=i&&R.merge(i.common,i[t.method]),s&&R.forEach(["delete","get","head","post","put","patch","common"],B=>{delete i[B]}),t.headers=Jt.concat(s,i);const o=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(a=a&&m.synchronous,o.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let u,c=0,f;if(!a){const B=[Og.bind(this),void 0];for(B.unshift.apply(B,o),B.push.apply(B,l),f=B.length,u=Promise.resolve(t);c{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const s=new Promise(o=>{r.subscribe(o),i=o}).then(n);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,o){r.reason||(r.reason=new eo(i,s,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new Sh(function(n){e=n}),cancel:e}}}const eD=Sh;function tD(A){return function(t){return A.apply(null,t)}}function rD(A){return R.isObject(A)&&A.isAxiosError===!0}const ed={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ed).forEach(([A,e])=>{ed[e]=A});const nD=ed;function yC(A){const e=new Fa(A),t=nC(Fa.prototype.request,e);return R.extend(t,Fa.prototype,e,{allOwnKeys:!0}),R.extend(t,e,null,{allOwnKeys:!0}),t.create=function(n){return yC(ui(A,n))},t}const ee=yC(Uh);ee.Axios=Fa;ee.CanceledError=eo;ee.CancelToken=eD;ee.isCancel=mC;ee.VERSION=CC;ee.toFormData=eu;ee.AxiosError=hA;ee.Cancel=ee.CanceledError;ee.all=function(e){return Promise.all(e)};ee.spread=tD;ee.isAxiosError=rD;ee.mergeConfig=ui;ee.AxiosHeaders=Jt;ee.formToJSON=A=>wC(R.isHTMLForm(A)?new FormData(A):A);ee.HttpStatusCode=nD;ee.default=ee;const Kg=ee,iD=()=>{const A=K.useRef(null),e=NF({mutationFn:async({img:r})=>{Kg.defaults.headers.common.Authorization=`Bearer ${gS}`;const n=await Kg.post(pS,{labelCode:Mi.labelId,page:1,frontPage:1,image:r.split(",")[1],articleList:[{articleId:Mi.productId,articleName:Mi.productName,nfcUrl:"http://www.solumesl.com",data:{ARTICLE_ID:Mi.productId,ARTICLE_NAME:Mi.productName,NFC_URL:"http://www.solum.com/p/JC000001",SALE_PRICE:"$100",DISCOUNT_PRICE:"$90"}}]},{headers:{"Content-Type":"application/json; charset=utf-8 "}});console.log(n)}});return{domRef:A,handleSendEslClick:async()=>{if(A.current){const r=await PL(A.current,{width:$v,height:A0,scale:1});e.mutate({img:r.toDataURL()})}}}},sD=({children:A})=>{const{domRef:e,handleSendEslClick:t}=iD();return Q.jsxs(Q.Fragment,{children:[Q.jsx("div",{ref:e,style:{width:$v,height:A0},children:A}),Q.jsx("button",{onClick:t,children:"Send esl"})]})},oD=()=>{const[A,e]=K.useState("A"),t=r=>{const n=r.target;e(n.dataset.type)};return Q.jsxs("div",{className:"preview-choose-type-container",children:[Q.jsx("div",{className:A==="A"?"preview-choose-type-box":"preview-not-choose-type-box",onClick:t,"data-type":"A",children:"CardMe Type A"}),Q.jsx("div",{className:A==="B"?"preview-choose-type-box":"preview-not-choose-type-box",onClick:t,"data-type":"B",children:"CardMe Type B"})]})};var QC={},nu={},Ih={},Qc={},Fc={exports:{}},Uc,_g;function aD(){if(_g)return Uc;_g=1;var A="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Uc=A,Uc}var Ec,Pg;function lD(){if(Pg)return Ec;Pg=1;var A=aD();function e(){}function t(){}return t.resetWarningCache=e,Ec=function(){function r(s,o,a,l,u,c){if(c!==A){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}r.isRequired=r;function n(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:n,element:r,elementType:r,instanceOf:n,node:r,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:t,resetWarningCache:e};return i.PropTypes=i,i},Ec}var Ng;function uD(){return Ng||(Ng=1,Fc.exports=lD()()),Fc.exports}var kg;function cD(){return kg||(kg=1,function(A){(function(e,t){t(A,K,uD())})(Xg,function(e,t,r){Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=B;var n=s(t),i=s(r);function s(d){return d&&d.__esModule?d:{default:d}}var o=Object.assign||function(d){for(var w=1;w=0||Object.prototype.hasOwnProperty.call(d,C)&&(h[C]=d[C]);return h}function l(d,w){if(!(d instanceof w))throw new TypeError("Cannot call a class as a function")}var u=function(){function d(w,h){for(var C=0;C0&&arguments[0]!==void 0?arguments[0]:{capture:!0};return g?d:d.capture}function S(d){if("touches"in d){var w=d.touches[0],h=w.pageX,C=w.pageY;return{x:h,y:C}}var y=d.screenX,U=d.screenY;return{x:y,y:U}}var p=function(d){f(w,d);function w(){var h;l(this,w);for(var C=arguments.length,y=Array(C),U=0;Uy&&this.props.onSwipeRight(1,C),this.movePosition.deltaY<-y?this.props.onSwipeUp(1,C):this.movePosition.deltaY>y&&this.props.onSwipeDown(1,C)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(C){this.swiper=C,this.props.innerRef(C)}},{key:"render",value:function(){var C=this.props;C.tagName;var y=C.className,U=C.style,v=C.children;C.allowMouseEvents,C.onSwipeUp,C.onSwipeDown,C.onSwipeLeft,C.onSwipeRight,C.onSwipeStart,C.onSwipeMove,C.onSwipeEnd,C.innerRef,C.tolerance;var E=a(C,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]);return n.default.createElement(this.props.tagName,o({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:y,style:U},E),v)}}]),w}(t.Component);p.displayName="ReactSwipe",p.propTypes={tagName:i.default.string,className:i.default.string,style:i.default.object,children:i.default.node,allowMouseEvents:i.default.bool,onSwipeUp:i.default.func,onSwipeDown:i.default.func,onSwipeLeft:i.default.func,onSwipeRight:i.default.func,onSwipeStart:i.default.func,onSwipeMove:i.default.func,onSwipeEnd:i.default.func,innerRef:i.default.func,tolerance:i.default.number.isRequired},p.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=p})}(Qc)),Qc}(function(A){(function(e,t){t(A,cD())})(Xg,function(e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default})})(Ih);var to={},FC={exports:{}};/*! +}`,iL=function(A){sL(A,"."+Jf+rL+Fg+` + .`+Yf+nL+Fg)},sL=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Z0=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),oL=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(gc(e)||cL(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return Fe(this,void 0,void 0,function(){var t,r,n,i,s=this;return me(this,function(o){switch(o.label){case 0:return t=Z0.isSameOrigin(e),r=!pc(e)&&this._options.useCORS===!0&&ue.SUPPORT_CORS_IMAGES&&!t,n=!pc(e)&&!t&&!gc(e)&&typeof this._options.proxy=="string"&&ue.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!pc(e)&&!gc(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=o.sent(),o.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(a,l){var u=new Image;u.onload=function(){return a(u)},u.onerror=l,(fL(i)||r)&&(u.crossOrigin="anonymous"),u.src=i,u.complete===!0&&setTimeout(function(){return a(u)},500),s._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,o.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,s){var o=ue.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(o==="text")i(a.response);else{var c=new FileReader;c.addEventListener("load",function(){return i(c.result)},!1),c.addEventListener("error",function(f){return s(f)},!1),c.readAsDataURL(a.response)}else s("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=s;var l=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+l+"url="+encodeURIComponent(e)+"&responseType="+o),o!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=o),t._options.imageTimeout){var u=t._options.imageTimeout;a.timeout=u,a.ontimeout=function(){return s("Timed out ("+u+"ms) proxying "+n)}}a.send()})},A}(),aL=/^data:image\/svg\+xml/i,lL=/^data:image\/.*;base64,/i,uL=/^data:image\/.*/i,cL=function(A){return ue.SUPPORT_SVG_DRAWING||!dL(A)},pc=function(A){return uL.test(A)},fL=function(A){return lL.test(A)},gc=function(A){return A.substr(0,4)==="blob"},dL=function(A){return A.substr(-3).toLowerCase()==="svg"||aL.test(A)},j=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Fn=function(A,e,t){return new j(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Yo=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=Fn(this.start,this.startControl,e),n=Fn(this.startControl,this.endControl,e),i=Fn(this.endControl,this.end,e),s=Fn(r,n,e),o=Fn(n,i,e),a=Fn(s,o,e);return t?new A(this.start,r,s,a):new A(a,o,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ye=function(A){return A.type===1},hL=function(){function A(e){var t=e.styles,r=e.bounds,n=qi(t.borderTopLeftRadius,r.width,r.height),i=n[0],s=n[1],o=qi(t.borderTopRightRadius,r.width,r.height),a=o[0],l=o[1],u=qi(t.borderBottomRightRadius,r.width,r.height),c=u[0],f=u[1],g=qi(t.borderBottomLeftRadius,r.width,r.height),B=g[0],m=g[1],S=[];S.push((i+a)/r.width),S.push((B+c)/r.width),S.push((s+m)/r.height),S.push((l+f)/r.height);var p=Math.max.apply(Math,S);p>1&&(i/=p,s/=p,a/=p,l/=p,c/=p,f/=p,B/=p,m/=p);var d=r.width-a,w=r.height-f,h=r.width-c,C=r.height-m,y=t.borderTopWidth,U=t.borderRightWidth,v=t.borderBottomWidth,E=t.borderLeftWidth,H=UA(t.paddingTop,e.bounds.width),b=UA(t.paddingRight,e.bounds.width),T=UA(t.paddingBottom,e.bounds.width),x=UA(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?xA(r.left+E/3,r.top+y/3,i-E/3,s-y/3,gA.TOP_LEFT):new j(r.left+E/3,r.top+y/3),this.topRightBorderDoubleOuterBox=i>0||s>0?xA(r.left+d,r.top+y/3,a-U/3,l-y/3,gA.TOP_RIGHT):new j(r.left+r.width-U/3,r.top+y/3),this.bottomRightBorderDoubleOuterBox=c>0||f>0?xA(r.left+h,r.top+w,c-U/3,f-v/3,gA.BOTTOM_RIGHT):new j(r.left+r.width-U/3,r.top+r.height-v/3),this.bottomLeftBorderDoubleOuterBox=B>0||m>0?xA(r.left+E/3,r.top+C,B-E/3,m-v/3,gA.BOTTOM_LEFT):new j(r.left+E/3,r.top+r.height-v/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?xA(r.left+E*2/3,r.top+y*2/3,i-E*2/3,s-y*2/3,gA.TOP_LEFT):new j(r.left+E*2/3,r.top+y*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?xA(r.left+d,r.top+y*2/3,a-U*2/3,l-y*2/3,gA.TOP_RIGHT):new j(r.left+r.width-U*2/3,r.top+y*2/3),this.bottomRightBorderDoubleInnerBox=c>0||f>0?xA(r.left+h,r.top+w,c-U*2/3,f-v*2/3,gA.BOTTOM_RIGHT):new j(r.left+r.width-U*2/3,r.top+r.height-v*2/3),this.bottomLeftBorderDoubleInnerBox=B>0||m>0?xA(r.left+E*2/3,r.top+C,B-E*2/3,m-v*2/3,gA.BOTTOM_LEFT):new j(r.left+E*2/3,r.top+r.height-v*2/3),this.topLeftBorderStroke=i>0||s>0?xA(r.left+E/2,r.top+y/2,i-E/2,s-y/2,gA.TOP_LEFT):new j(r.left+E/2,r.top+y/2),this.topRightBorderStroke=i>0||s>0?xA(r.left+d,r.top+y/2,a-U/2,l-y/2,gA.TOP_RIGHT):new j(r.left+r.width-U/2,r.top+y/2),this.bottomRightBorderStroke=c>0||f>0?xA(r.left+h,r.top+w,c-U/2,f-v/2,gA.BOTTOM_RIGHT):new j(r.left+r.width-U/2,r.top+r.height-v/2),this.bottomLeftBorderStroke=B>0||m>0?xA(r.left+E/2,r.top+C,B-E/2,m-v/2,gA.BOTTOM_LEFT):new j(r.left+E/2,r.top+r.height-v/2),this.topLeftBorderBox=i>0||s>0?xA(r.left,r.top,i,s,gA.TOP_LEFT):new j(r.left,r.top),this.topRightBorderBox=a>0||l>0?xA(r.left+d,r.top,a,l,gA.TOP_RIGHT):new j(r.left+r.width,r.top),this.bottomRightBorderBox=c>0||f>0?xA(r.left+h,r.top+w,c,f,gA.BOTTOM_RIGHT):new j(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=B>0||m>0?xA(r.left,r.top+C,B,m,gA.BOTTOM_LEFT):new j(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||s>0?xA(r.left+E,r.top+y,Math.max(0,i-E),Math.max(0,s-y),gA.TOP_LEFT):new j(r.left+E,r.top+y),this.topRightPaddingBox=a>0||l>0?xA(r.left+Math.min(d,r.width-U),r.top+y,d>r.width+U?0:Math.max(0,a-U),Math.max(0,l-y),gA.TOP_RIGHT):new j(r.left+r.width-U,r.top+y),this.bottomRightPaddingBox=c>0||f>0?xA(r.left+Math.min(h,r.width-E),r.top+Math.min(w,r.height-v),Math.max(0,c-U),Math.max(0,f-v),gA.BOTTOM_RIGHT):new j(r.left+r.width-U,r.top+r.height-v),this.bottomLeftPaddingBox=B>0||m>0?xA(r.left+E,r.top+Math.min(C,r.height-v),Math.max(0,B-E),Math.max(0,m-v),gA.BOTTOM_LEFT):new j(r.left+E,r.top+r.height-v),this.topLeftContentBox=i>0||s>0?xA(r.left+E+x,r.top+y+H,Math.max(0,i-(E+x)),Math.max(0,s-(y+H)),gA.TOP_LEFT):new j(r.left+E+x,r.top+y+H),this.topRightContentBox=a>0||l>0?xA(r.left+Math.min(d,r.width+E+x),r.top+y+H,d>r.width+E+x?0:a-E+x,l-(y+H),gA.TOP_RIGHT):new j(r.left+r.width-(U+b),r.top+y+H),this.bottomRightContentBox=c>0||f>0?xA(r.left+Math.min(h,r.width-(E+x)),r.top+Math.min(w,r.height+y+H),Math.max(0,c-(U+b)),f-(v+T),gA.BOTTOM_RIGHT):new j(r.left+r.width-(U+b),r.top+r.height-(v+T)),this.bottomLeftContentBox=B>0||m>0?xA(r.left+E+x,r.top+C,Math.max(0,B-(E+x)),m-(v+T),gA.BOTTOM_LEFT):new j(r.left+E+x,r.top+r.height-(v+T))}return A}(),gA;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(gA||(gA={}));var xA=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),s=t*i,o=r*i,a=A+t,l=e+r;switch(n){case gA.TOP_LEFT:return new Yo(new j(A,l),new j(A,l-o),new j(a-s,e),new j(a,e));case gA.TOP_RIGHT:return new Yo(new j(A,e),new j(A+s,e),new j(a,l-o),new j(a,l));case gA.BOTTOM_RIGHT:return new Yo(new j(a,e),new j(a,e+o),new j(A+s,l),new j(A,l));case gA.BOTTOM_LEFT:default:return new Yo(new j(a,l),new j(a-s,l),new j(A,e+o),new j(A,e))}},dl=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},BL=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},hl=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},pL=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Zo=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),gL=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),wL=function(A){return A.type===0},q0=function(A){return A.type===1},mL=function(A){return A.type===2},Ug=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},vL=function(A,e,t,r,n){return A.map(function(i,s){switch(s){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},$0=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),AC=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new hL(this.container),this.container.styles.opacity<1&&this.effects.push(new gL(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new pL(r,n,i))}if(this.container.styles.overflowX!==0){var s=dl(this.curves),o=hl(this.curves);Ug(s,o)?this.effects.push(new Zo(s,6)):(this.effects.push(new Zo(s,2)),this.effects.push(new Zo(o,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(a){return!q0(a)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=dl(r.curves),o=hl(r.curves);Ug(s,o)||n.unshift(new Zo(o,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(a){return qA(a.target,e)})},A}(),Zf=function(A,e,t,r){A.container.elements.forEach(function(n){var i=qA(n.flags,4),s=qA(n.flags,2),o=new AC(n,A);qA(n.styles.display,2048)&&r.push(o);var a=qA(n.flags,8)?[]:r;if(i||s){var l=i||n.styles.isPositioned()?t:e,u=new $0(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var c=n.styles.zIndex.order;if(c<0){var f=0;l.negativeZIndex.some(function(B,m){return c>B.element.container.styles.zIndex.order?(f=m,!1):f>0}),l.negativeZIndex.splice(f,0,u)}else if(c>0){var g=0;l.positiveZIndex.some(function(B,m){return c>=B.element.container.styles.zIndex.order?(g=m+1,!1):g>0}),l.positiveZIndex.splice(g,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Zf(o,u,i?u:t,a)}else n.styles.isInlineLevel()?e.inlineLevel.push(o):e.nonInlineLevel.push(o),Zf(o,e,t,a);qA(n.flags,8)&&eC(n,a)})},eC=function(A,e){for(var t=A instanceof Wf?A.start:1,r=A instanceof Wf?A.reversed:!1,n=0;n"u"?A[0]:t},IL=function(A,e,t,r,n){var i=e[0],s=e[1],o=t[0],a=t[1];switch(A){case 2:return[new j(Math.round(r.left),Math.round(r.top+s)),new j(Math.round(r.left+r.width),Math.round(r.top+s)),new j(Math.round(r.left+r.width),Math.round(a+r.top+s)),new j(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new j(Math.round(r.left+i),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.top)),new j(Math.round(r.left+i+o),Math.round(r.height+r.top)),new j(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new j(Math.round(r.left+i),Math.round(r.top+s)),new j(Math.round(r.left+i+o),Math.round(r.top+s)),new j(Math.round(r.left+i+o),Math.round(r.top+s+a)),new j(Math.round(r.left+i),Math.round(r.top+s+a))];default:return[new j(Math.round(n.left),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.top)),new j(Math.round(n.left+n.width),Math.round(n.height+n.top)),new j(Math.round(n.left),Math.round(n.height+n.top))]}},HL="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Sg="Hidden Text",xL=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=HL,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Sg)),r.appendChild(i),r.appendChild(n);var o=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Sg)),r.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:o,middle:a}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),rC=function(){function A(e,t){this.context=e,this.options=t}return A}(),LL=1e4,DL=function(A){vt(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new xL(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),mL(t)&&(this.ctx.globalAlpha=t.opacity),wL(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),q0(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return Fe(this,void 0,void 0,function(){var r;return me(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return Fe(this,void 0,void 0,function(){return me(this,function(r){switch(r.label){case 0:if(qA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=vh(t.text);s.reduce(function(o,a){return i.ctx.fillText(a,o,t.bounds.top+n),o+i.ctx.measureText(a).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=ML(t.fontFamily).join(", "),i=$s(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return Fe(this,void 0,void 0,function(){var n,i,s,o,a,l,u,c,f=this;return me(this,function(g){return n=this.createFontStyle(r),i=n[0],s=n[1],o=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,o),l=a.baseline,u=a.middle,c=r.paintOrder,t.textBounds.forEach(function(B){c.forEach(function(m){switch(m){case 0:f.ctx.fillStyle=ne(r.color),f.renderTextWithLetterSpacing(B,r.letterSpacing,l);var S=r.textShadow;S.length&&B.text.trim().length&&(S.slice(0).reverse().forEach(function(p){f.ctx.shadowColor=ne(p.color),f.ctx.shadowOffsetX=p.offsetX.number*f.options.scale,f.ctx.shadowOffsetY=p.offsetY.number*f.options.scale,f.ctx.shadowBlur=p.blur.number,f.renderTextWithLetterSpacing(B,r.letterSpacing,l)}),f.ctx.shadowColor="",f.ctx.shadowOffsetX=0,f.ctx.shadowOffsetY=0,f.ctx.shadowBlur=0),r.textDecorationLine.length&&(f.ctx.fillStyle=ne(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(p){switch(p){case 1:f.ctx.fillRect(B.bounds.left,Math.round(B.bounds.top+l),B.bounds.width,1);break;case 2:f.ctx.fillRect(B.bounds.left,Math.round(B.bounds.top),B.bounds.width,1);break;case 3:f.ctx.fillRect(B.bounds.left,Math.ceil(B.bounds.top+u),B.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&B.text.trim().length&&(f.ctx.strokeStyle=ne(r.webkitTextStrokeColor),f.ctx.lineWidth=r.webkitTextStrokeWidth,f.ctx.lineJoin=window.chrome?"miter":"round",f.ctx.strokeText(B.text,B.bounds.left,B.bounds.top+l)),f.ctx.strokeStyle="",f.ctx.lineWidth=0,f.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=Bl(t),s=hl(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return Fe(this,void 0,void 0,function(){var r,n,i,s,o,a,d,d,l,u,c,f,h,g,B,C,m,S,p,d,w,h,C;return me(this,function(y){switch(y.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,s=0,o=r.textNodes,y.label=1;case 1:return s0&&N>0&&(v=i.ctx.createPattern(C,"repeat"),i.renderRepeat(H,v,eA,W))):mI(u)&&(E=wc(t,r,[null,null,null]),H=E[0],b=E[1],T=E[2],x=E[3],N=E[4],$=u.position.length===0?[gh]:u.position,eA=UA($[0],x),W=UA($[$.length-1],N),M=hI(u,eA,W,x,N),V=M[0],q=M[1],V>0&&q>0&&(dA=i.ctx.createRadialGradient(b+eA,T+W,0,b+eA,T+W,V),Jp(u.stops,V*2).forEach(function(Be){return dA.addColorStop(Be.stop,ne(Be.color))}),i.path(H),i.ctx.fillStyle=dA,V!==q?(pA=t.bounds.left+.5*t.bounds.width,te=t.bounds.top+.5*t.bounds.height,uA=q/V,_A=1/uA,i.ctx.save(),i.ctx.translate(pA,te),i.ctx.transform(1,0,0,uA,0,0),i.ctx.translate(-pA,-te),i.ctx.fillRect(b,_A*(T-te)+te,x,N*_A),i.ctx.restore()):i.ctx.fill())),PA.label=6;case 6:return r--,[2]}})},i=this,s=0,o=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return s0?u.style!==2?[3,5]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,2)]:[3,11]):[3,13];case 4:return f.sent(),[3,11];case 5:return u.style!==3?[3,7]:[4,this.renderDashedDottedBorder(u.color,u.width,o,t.curves,3)];case 6:return f.sent(),[3,11];case 7:return u.style!==4?[3,9]:[4,this.renderDoubleBorder(u.color,u.width,o,t.curves)];case 8:return f.sent(),[3,11];case 9:return[4,this.renderSolidBorder(u.color,o,t.curves)];case 10:f.sent(),f.label=11;case 11:o++,f.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,s){return Fe(this,void 0,void 0,function(){var o,a,l,u,c,f,g,B,m,S,p,d,w,h,C,y,C,y;return me(this,function(U){return this.ctx.save(),o=FL(i,n),a=Eg(i,n),s===2&&(this.path(a),this.ctx.clip()),Ye(a[0])?(l=a[0].start.x,u=a[0].start.y):(l=a[0].x,u=a[0].y),Ye(a[1])?(c=a[1].end.x,f=a[1].end.y):(c=a[1].x,f=a[1].y),n===0||n===2?g=Math.abs(l-c):g=Math.abs(u-f),this.ctx.beginPath(),s===3?this.formatPath(o):this.formatPath(a.slice(0,2)),B=r<3?r*3:r*2,m=r<3?r*2:r,s===3&&(B=r,m=r),S=!0,g<=B*2?S=!1:g<=B*2+m?(p=g/(2*B+m),B*=p,m*=p):(d=Math.floor((g+m)/(B+m)),w=(g-d*B)/(d-1),h=(g-(d+1)*B)/d,m=h<=0||Math.abs(m-w)e=>{const t=jL.call(e);return A[t]||(A[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),Rt=A=>(A=A.toLowerCase(),e=>ql(e)===A),$l=A=>e=>typeof e===A,{isArray:pi}=Array,Ps=$l("undefined");function WL(A){return A!==null&&!Ps(A)&&A.constructor!==null&&!Ps(A.constructor)&&et(A.constructor.isBuffer)&&A.constructor.isBuffer(A)}const iC=Rt("ArrayBuffer");function zL(A){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(A):e=A&&A.buffer&&iC(A.buffer),e}const XL=$l("string"),et=$l("function"),sC=$l("number"),Au=A=>A!==null&&typeof A=="object",JL=A=>A===!0||A===!1,Ca=A=>{if(ql(A)!=="object")return!1;const e=Qh(A);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in A)&&!(Symbol.iterator in A)},YL=Rt("Date"),ZL=Rt("File"),qL=Rt("Blob"),$L=Rt("FileList"),A4=A=>Au(A)&&et(A.pipe),e4=A=>{let e;return A&&(typeof FormData=="function"&&A instanceof FormData||et(A.append)&&((e=ql(A))==="formdata"||e==="object"&&et(A.toString)&&A.toString()==="[object FormData]"))},t4=Rt("URLSearchParams"),r4=A=>A.trim?A.trim():A.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ao(A,e,{allOwnKeys:t=!1}={}){if(A===null||typeof A>"u")return;let r,n;if(typeof A!="object"&&(A=[A]),pi(A))for(r=0,n=A.length;r0;)if(n=t[r],e===n.toLowerCase())return n;return null}const aC=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),lC=A=>!Ps(A)&&A!==aC;function qf(){const{caseless:A}=lC(this)&&this||{},e={},t=(r,n)=>{const i=A&&oC(e,n)||n;Ca(e[i])&&Ca(r)?e[i]=qf(e[i],r):Ca(r)?e[i]=qf({},r):pi(r)?e[i]=r.slice():e[i]=r};for(let r=0,n=arguments.length;r(Ao(e,(n,i)=>{t&&et(n)?A[i]=nC(n,t):A[i]=n},{allOwnKeys:r}),A),i4=A=>(A.charCodeAt(0)===65279&&(A=A.slice(1)),A),s4=(A,e,t,r)=>{A.prototype=Object.create(e.prototype,r),A.prototype.constructor=A,Object.defineProperty(A,"super",{value:e.prototype}),t&&Object.assign(A.prototype,t)},o4=(A,e,t,r)=>{let n,i,s;const o={};if(e=e||{},A==null)return e;do{for(n=Object.getOwnPropertyNames(A),i=n.length;i-- >0;)s=n[i],(!r||r(s,A,e))&&!o[s]&&(e[s]=A[s],o[s]=!0);A=t!==!1&&Qh(A)}while(A&&(!t||t(A,e))&&A!==Object.prototype);return e},a4=(A,e,t)=>{A=String(A),(t===void 0||t>A.length)&&(t=A.length),t-=e.length;const r=A.indexOf(e,t);return r!==-1&&r===t},l4=A=>{if(!A)return null;if(pi(A))return A;let e=A.length;if(!sC(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=A[e];return t},u4=(A=>e=>A&&e instanceof A)(typeof Uint8Array<"u"&&Qh(Uint8Array)),c4=(A,e)=>{const r=(A&&A[Symbol.iterator]).call(A);let n;for(;(n=r.next())&&!n.done;){const i=n.value;e.call(A,i[0],i[1])}},f4=(A,e)=>{let t;const r=[];for(;(t=A.exec(e))!==null;)r.push(t);return r},d4=Rt("HTMLFormElement"),h4=A=>A.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,r,n){return r.toUpperCase()+n}),Ig=(({hasOwnProperty:A})=>(e,t)=>A.call(e,t))(Object.prototype),B4=Rt("RegExp"),uC=(A,e)=>{const t=Object.getOwnPropertyDescriptors(A),r={};Ao(t,(n,i)=>{e(n,i,A)!==!1&&(r[i]=n)}),Object.defineProperties(A,r)},p4=A=>{uC(A,(e,t)=>{if(et(A)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const r=A[t];if(et(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},g4=(A,e)=>{const t={},r=n=>{n.forEach(i=>{t[i]=!0})};return pi(A)?r(A):r(String(A).split(e)),t},w4=()=>{},m4=(A,e)=>(A=+A,Number.isFinite(A)?A:e),mc="abcdefghijklmnopqrstuvwxyz",Hg="0123456789",cC={DIGIT:Hg,ALPHA:mc,ALPHA_DIGIT:mc+mc.toUpperCase()+Hg},v4=(A=16,e=cC.ALPHA_DIGIT)=>{let t="";const{length:r}=e;for(;A--;)t+=e[Math.random()*r|0];return t};function C4(A){return!!(A&&et(A.append)&&A[Symbol.toStringTag]==="FormData"&&A[Symbol.iterator])}const y4=A=>{const e=new Array(10),t=(r,n)=>{if(Au(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[n]=r;const i=pi(r)?[]:{};return Ao(r,(s,o)=>{const a=t(s,n+1);!Ps(a)&&(i[o]=a)}),e[n]=void 0,i}}return r};return t(A,0)},Q4=Rt("AsyncFunction"),F4=A=>A&&(Au(A)||et(A))&&et(A.then)&&et(A.catch),R={isArray:pi,isArrayBuffer:iC,isBuffer:WL,isFormData:e4,isArrayBufferView:zL,isString:XL,isNumber:sC,isBoolean:JL,isObject:Au,isPlainObject:Ca,isUndefined:Ps,isDate:YL,isFile:ZL,isBlob:qL,isRegExp:B4,isFunction:et,isStream:A4,isURLSearchParams:t4,isTypedArray:u4,isFileList:$L,forEach:Ao,merge:qf,extend:n4,trim:r4,stripBOM:i4,inherits:s4,toFlatObject:o4,kindOf:ql,kindOfTest:Rt,endsWith:a4,toArray:l4,forEachEntry:c4,matchAll:f4,isHTMLForm:d4,hasOwnProperty:Ig,hasOwnProp:Ig,reduceDescriptors:uC,freezeMethods:p4,toObjectSet:g4,toCamelCase:h4,noop:w4,toFiniteNumber:m4,findKey:oC,global:aC,isContextDefined:lC,ALPHABET:cC,generateString:v4,isSpecCompliantForm:C4,toJSONObject:y4,isAsyncFn:Q4,isThenable:F4};function hA(A,e,t,r,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=A,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),r&&(this.request=r),n&&(this.response=n)}R.inherits(hA,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:R.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const fC=hA.prototype,dC={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(A=>{dC[A]={value:A}});Object.defineProperties(hA,dC);Object.defineProperty(fC,"isAxiosError",{value:!0});hA.from=(A,e,t,r,n,i)=>{const s=Object.create(fC);return R.toFlatObject(A,s,function(a){return a!==Error.prototype},o=>o!=="isAxiosError"),hA.call(s,A.message,e,t,r,n),s.cause=A,s.name=A.name,i&&Object.assign(s,i),s};const U4=null;function $f(A){return R.isPlainObject(A)||R.isArray(A)}function hC(A){return R.endsWith(A,"[]")?A.slice(0,-2):A}function xg(A,e,t){return A?A.concat(e).map(function(n,i){return n=hC(n),!t&&i?"["+n+"]":n}).join(t?".":""):e}function E4(A){return R.isArray(A)&&!A.some($f)}const S4=R.toFlatObject(R,{},null,function(e){return/^is[A-Z]/.test(e)});function eu(A,e,t){if(!R.isObject(A))throw new TypeError("target must be an object");e=e||new FormData,t=R.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,S){return!R.isUndefined(S[m])});const r=t.metaTokens,n=t.visitor||u,i=t.dots,s=t.indexes,a=(t.Blob||typeof Blob<"u"&&Blob)&&R.isSpecCompliantForm(e);if(!R.isFunction(n))throw new TypeError("visitor must be a function");function l(B){if(B===null)return"";if(R.isDate(B))return B.toISOString();if(!a&&R.isBlob(B))throw new hA("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(B)||R.isTypedArray(B)?a&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function u(B,m,S){let p=B;if(B&&!S&&typeof B=="object"){if(R.endsWith(m,"{}"))m=r?m:m.slice(0,-2),B=JSON.stringify(B);else if(R.isArray(B)&&E4(B)||(R.isFileList(B)||R.endsWith(m,"[]"))&&(p=R.toArray(B)))return m=hC(m),p.forEach(function(w,h){!(R.isUndefined(w)||w===null)&&e.append(s===!0?xg([m],h,i):s===null?m:m+"[]",l(w))}),!1}return $f(B)?!0:(e.append(xg(S,m,i),l(B)),!1)}const c=[],f=Object.assign(S4,{defaultVisitor:u,convertValue:l,isVisitable:$f});function g(B,m){if(!R.isUndefined(B)){if(c.indexOf(B)!==-1)throw Error("Circular reference detected in "+m.join("."));c.push(B),R.forEach(B,function(p,d){(!(R.isUndefined(p)||p===null)&&n.call(e,p,R.isString(d)?d.trim():d,m,f))===!0&&g(p,m?m.concat(d):[d])}),c.pop()}}if(!R.isObject(A))throw new TypeError("data must be an object");return g(A),e}function Lg(A){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(A).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function Fh(A,e){this._pairs=[],A&&eu(A,this,e)}const BC=Fh.prototype;BC.append=function(e,t){this._pairs.push([e,t])};BC.toString=function(e){const t=e?function(r){return e.call(this,r,Lg)}:Lg;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function I4(A){return encodeURIComponent(A).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pC(A,e,t){if(!e)return A;const r=t&&t.encode||I4,n=t&&t.serialize;let i;if(n?i=n(e,t):i=R.isURLSearchParams(e)?e.toString():new Fh(e,t).toString(r),i){const s=A.indexOf("#");s!==-1&&(A=A.slice(0,s)),A+=(A.indexOf("?")===-1?"?":"&")+i}return A}class H4{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){R.forEach(this.handlers,function(r){r!==null&&e(r)})}}const Dg=H4,gC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},x4=typeof URLSearchParams<"u"?URLSearchParams:Fh,L4=typeof FormData<"u"?FormData:null,D4=typeof Blob<"u"?Blob:null,T4=(()=>{let A;return typeof navigator<"u"&&((A=navigator.product)==="ReactNative"||A==="NativeScript"||A==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),R4=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),St={isBrowser:!0,classes:{URLSearchParams:x4,FormData:L4,Blob:D4},isStandardBrowserEnv:T4,isStandardBrowserWebWorkerEnv:R4,protocols:["http","https","file","blob","url","data"]};function O4(A,e){return eu(A,new St.classes.URLSearchParams,Object.assign({visitor:function(t,r,n,i){return St.isNode&&R.isBuffer(t)?(this.append(r,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function b4(A){return R.matchAll(/\w+|\[(\w*)]/g,A).map(e=>e[0]==="[]"?"":e[1]||e[0])}function M4(A){const e={},t=Object.keys(A);let r;const n=t.length;let i;for(r=0;r=t.length;return s=!s&&R.isArray(n)?n.length:s,a?(R.hasOwnProp(n,s)?n[s]=[n[s],r]:n[s]=r,!o):((!n[s]||!R.isObject(n[s]))&&(n[s]=[]),e(t,r,n[s],i)&&R.isArray(n[s])&&(n[s]=M4(n[s])),!o)}if(R.isFormData(A)&&R.isFunction(A.entries)){const t={};return R.forEachEntry(A,(r,n)=>{e(b4(r),n,t,0)}),t}return null}const K4={"Content-Type":void 0};function _4(A,e,t){if(R.isString(A))try{return(e||JSON.parse)(A),R.trim(A)}catch(r){if(r.name!=="SyntaxError")throw r}return(t||JSON.stringify)(A)}const tu={transitional:gC,adapter:["xhr","http"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=R.isObject(e);if(i&&R.isHTMLForm(e)&&(e=new FormData(e)),R.isFormData(e))return n&&n?JSON.stringify(wC(e)):e;if(R.isArrayBuffer(e)||R.isBuffer(e)||R.isStream(e)||R.isFile(e)||R.isBlob(e))return e;if(R.isArrayBufferView(e))return e.buffer;if(R.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return O4(e,this.formSerializer).toString();if((o=R.isFileList(e))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return eu(o?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||n?(t.setContentType("application/json",!1),_4(e)):e}],transformResponse:[function(e){const t=this.transitional||tu.transitional,r=t&&t.forcedJSONParsing,n=this.responseType==="json";if(e&&R.isString(e)&&(r&&!this.responseType||n)){const s=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?hA.from(o,hA.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:St.classes.FormData,Blob:St.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};R.forEach(["delete","get","head"],function(e){tu.headers[e]={}});R.forEach(["post","put","patch"],function(e){tu.headers[e]=R.merge(K4)});const Uh=tu,P4=R.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),N4=A=>{const e={};let t,r,n;return A&&A.split(` +`).forEach(function(s){n=s.indexOf(":"),t=s.substring(0,n).trim().toLowerCase(),r=s.substring(n+1).trim(),!(!t||e[t]&&P4[t])&&(t==="set-cookie"?e[t]?e[t].push(r):e[t]=[r]:e[t]=e[t]?e[t]+", "+r:r)}),e},Tg=Symbol("internals");function ki(A){return A&&String(A).trim().toLowerCase()}function ya(A){return A===!1||A==null?A:R.isArray(A)?A.map(ya):String(A)}function k4(A){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=t.exec(A);)e[r[1]]=r[2];return e}const V4=A=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(A.trim());function vc(A,e,t,r,n){if(R.isFunction(r))return r.call(this,e,t);if(n&&(e=t),!!R.isString(e)){if(R.isString(r))return e.indexOf(r)!==-1;if(R.isRegExp(r))return r.test(e)}}function G4(A){return A.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}function j4(A,e){const t=R.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(A,r+t,{value:function(n,i,s){return this[r].call(this,e,n,i,s)},configurable:!0})})}class ru{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(o,a,l){const u=ki(a);if(!u)throw new Error("header name must be a non-empty string");const c=R.findKey(n,u);(!c||n[c]===void 0||l===!0||l===void 0&&n[c]!==!1)&&(n[c||a]=ya(o))}const s=(o,a)=>R.forEach(o,(l,u)=>i(l,u,a));return R.isPlainObject(e)||e instanceof this.constructor?s(e,t):R.isString(e)&&(e=e.trim())&&!V4(e)?s(N4(e),t):e!=null&&i(t,e,r),this}get(e,t){if(e=ki(e),e){const r=R.findKey(this,e);if(r){const n=this[r];if(!t)return n;if(t===!0)return k4(n);if(R.isFunction(t))return t.call(this,n,r);if(R.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ki(e),e){const r=R.findKey(this,e);return!!(r&&this[r]!==void 0&&(!t||vc(this,this[r],r,t)))}return!1}delete(e,t){const r=this;let n=!1;function i(s){if(s=ki(s),s){const o=R.findKey(r,s);o&&(!t||vc(r,r[o],o,t))&&(delete r[o],n=!0)}}return R.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];(!e||vc(this,this[i],i,e,!0))&&(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return R.forEach(this,(n,i)=>{const s=R.findKey(r,i);if(s){t[s]=ya(n),delete t[i];return}const o=e?G4(i):String(i).trim();o!==i&&delete t[i],t[o]=ya(n),r[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return R.forEach(this,(r,n)=>{r!=null&&r!==!1&&(t[n]=e&&R.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const r=new this(e);return t.forEach(n=>r.set(n)),r}static accessor(e){const r=(this[Tg]=this[Tg]={accessors:{}}).accessors,n=this.prototype;function i(s){const o=ki(s);r[o]||(j4(n,s),r[o]=!0)}return R.isArray(e)?e.forEach(i):i(e),this}}ru.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.freezeMethods(ru.prototype);R.freezeMethods(ru);const Jt=ru;function Cc(A,e){const t=this||Uh,r=e||t,n=Jt.from(r.headers);let i=r.data;return R.forEach(A,function(o){i=o.call(t,i,n.normalize(),e?e.status:void 0)}),n.normalize(),i}function mC(A){return!!(A&&A.__CANCEL__)}function eo(A,e,t){hA.call(this,A??"canceled",hA.ERR_CANCELED,e,t),this.name="CanceledError"}R.inherits(eo,hA,{__CANCEL__:!0});function W4(A,e,t){const r=t.config.validateStatus;!t.status||!r||r(t.status)?A(t):e(new hA("Request failed with status code "+t.status,[hA.ERR_BAD_REQUEST,hA.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}const z4=St.isStandardBrowserEnv?function(){return{write:function(t,r,n,i,s,o){const a=[];a.push(t+"="+encodeURIComponent(r)),R.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),R.isString(i)&&a.push("path="+i),R.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){const r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function X4(A){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(A)}function J4(A,e){return e?A.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):A}function vC(A,e){return A&&!X4(e)?J4(A,e):e}const Y4=St.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let r;function n(i){let s=i;return e&&(t.setAttribute("href",s),s=t.href),t.setAttribute("href",s),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return r=n(window.location.href),function(s){const o=R.isString(s)?n(s):s;return o.protocol===r.protocol&&o.host===r.host}}():function(){return function(){return!0}}();function Z4(A){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(A);return e&&e[1]||""}function q4(A,e){A=A||10;const t=new Array(A),r=new Array(A);let n=0,i=0,s;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=r[i];s||(s=l),t[n]=a,r[n]=l;let c=i,f=0;for(;c!==n;)f+=t[c++],c=c%A;if(n=(n+1)%A,n===i&&(i=(i+1)%A),l-s{const i=n.loaded,s=n.lengthComputable?n.total:void 0,o=i-t,a=r(o),l=i<=s;t=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:o,rate:a||void 0,estimated:a&&s&&l?(s-i)/a:void 0,event:n};u[e?"download":"upload"]=!0,A(u)}}const $4=typeof XMLHttpRequest<"u",AD=$4&&function(A){return new Promise(function(t,r){let n=A.data;const i=Jt.from(A.headers).normalize(),s=A.responseType;let o;function a(){A.cancelToken&&A.cancelToken.unsubscribe(o),A.signal&&A.signal.removeEventListener("abort",o)}R.isFormData(n)&&(St.isStandardBrowserEnv||St.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(A.auth){const g=A.auth.username||"",B=A.auth.password?unescape(encodeURIComponent(A.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+B))}const u=vC(A.baseURL,A.url);l.open(A.method.toUpperCase(),pC(u,A.params,A.paramsSerializer),!0),l.timeout=A.timeout;function c(){if(!l)return;const g=Jt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),m={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:g,config:A,request:l};W4(function(p){t(p),a()},function(p){r(p),a()},m),l=null}if("onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(c)},l.onabort=function(){l&&(r(new hA("Request aborted",hA.ECONNABORTED,A,l)),l=null)},l.onerror=function(){r(new hA("Network Error",hA.ERR_NETWORK,A,l)),l=null},l.ontimeout=function(){let B=A.timeout?"timeout of "+A.timeout+"ms exceeded":"timeout exceeded";const m=A.transitional||gC;A.timeoutErrorMessage&&(B=A.timeoutErrorMessage),r(new hA(B,m.clarifyTimeoutError?hA.ETIMEDOUT:hA.ECONNABORTED,A,l)),l=null},St.isStandardBrowserEnv){const g=(A.withCredentials||Y4(u))&&A.xsrfCookieName&&z4.read(A.xsrfCookieName);g&&i.set(A.xsrfHeaderName,g)}n===void 0&&i.setContentType(null),"setRequestHeader"in l&&R.forEach(i.toJSON(),function(B,m){l.setRequestHeader(m,B)}),R.isUndefined(A.withCredentials)||(l.withCredentials=!!A.withCredentials),s&&s!=="json"&&(l.responseType=A.responseType),typeof A.onDownloadProgress=="function"&&l.addEventListener("progress",Rg(A.onDownloadProgress,!0)),typeof A.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",Rg(A.onUploadProgress)),(A.cancelToken||A.signal)&&(o=g=>{l&&(r(!g||g.type?new eo(null,A,l):g),l.abort(),l=null)},A.cancelToken&&A.cancelToken.subscribe(o),A.signal&&(A.signal.aborted?o():A.signal.addEventListener("abort",o)));const f=Z4(u);if(f&&St.protocols.indexOf(f)===-1){r(new hA("Unsupported protocol "+f+":",hA.ERR_BAD_REQUEST,A));return}l.send(n||null)})},Qa={http:U4,xhr:AD};R.forEach(Qa,(A,e)=>{if(A){try{Object.defineProperty(A,"name",{value:e})}catch{}Object.defineProperty(A,"adapterName",{value:e})}});const eD={getAdapter:A=>{A=R.isArray(A)?A:[A];const{length:e}=A;let t,r;for(let n=0;nA instanceof Jt?A.toJSON():A;function ui(A,e){e=e||{};const t={};function r(l,u,c){return R.isPlainObject(l)&&R.isPlainObject(u)?R.merge.call({caseless:c},l,u):R.isPlainObject(u)?R.merge({},u):R.isArray(u)?u.slice():u}function n(l,u,c){if(R.isUndefined(u)){if(!R.isUndefined(l))return r(void 0,l,c)}else return r(l,u,c)}function i(l,u){if(!R.isUndefined(u))return r(void 0,u)}function s(l,u){if(R.isUndefined(u)){if(!R.isUndefined(l))return r(void 0,l)}else return r(void 0,u)}function o(l,u,c){if(c in e)return r(l,u);if(c in A)return r(void 0,l)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:(l,u)=>n(bg(l),bg(u),!0)};return R.forEach(Object.keys(Object.assign({},A,e)),function(u){const c=a[u]||n,f=c(A[u],e[u],u);R.isUndefined(f)&&c!==o||(t[u]=f)}),t}const CC="1.4.0",Eh={};["object","boolean","number","function","string","symbol"].forEach((A,e)=>{Eh[A]=function(r){return typeof r===A||"a"+(e<1?"n ":" ")+A}});const Mg={};Eh.transitional=function(e,t,r){function n(i,s){return"[Axios v"+CC+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,o)=>{if(e===!1)throw new hA(n(s," has been removed"+(t?" in "+t:"")),hA.ERR_DEPRECATED);return t&&!Mg[s]&&(Mg[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(i,s,o):!0}};function tD(A,e,t){if(typeof A!="object")throw new hA("options must be an object",hA.ERR_BAD_OPTION_VALUE);const r=Object.keys(A);let n=r.length;for(;n-- >0;){const i=r[n],s=e[i];if(s){const o=A[i],a=o===void 0||s(o,i,A);if(a!==!0)throw new hA("option "+i+" must be "+a,hA.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new hA("Unknown option "+i,hA.ERR_BAD_OPTION)}}const Ad={assertOptions:tD,validators:Eh},ir=Ad.validators;class pl{constructor(e){this.defaults=e,this.interceptors={request:new Dg,response:new Dg}}request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=ui(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;r!==void 0&&Ad.assertOptions(r,{silentJSONParsing:ir.transitional(ir.boolean),forcedJSONParsing:ir.transitional(ir.boolean),clarifyTimeoutError:ir.transitional(ir.boolean)},!1),n!=null&&(R.isFunction(n)?t.paramsSerializer={serialize:n}:Ad.assertOptions(n,{encode:ir.function,serialize:ir.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s;s=i&&R.merge(i.common,i[t.method]),s&&R.forEach(["delete","get","head","post","put","patch","common"],B=>{delete i[B]}),t.headers=Jt.concat(s,i);const o=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(t)===!1||(a=a&&m.synchronous,o.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let u,c=0,f;if(!a){const B=[Og.bind(this),void 0];for(B.unshift.apply(B,o),B.push.apply(B,l),f=B.length,u=Promise.resolve(t);c{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i;const s=new Promise(o=>{r.subscribe(o),i=o}).then(n);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,o){r.reason||(r.reason=new eo(i,s,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new Sh(function(n){e=n}),cancel:e}}}const rD=Sh;function nD(A){return function(t){return A.apply(null,t)}}function iD(A){return R.isObject(A)&&A.isAxiosError===!0}const ed={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ed).forEach(([A,e])=>{ed[e]=A});const sD=ed;function yC(A){const e=new Fa(A),t=nC(Fa.prototype.request,e);return R.extend(t,Fa.prototype,e,{allOwnKeys:!0}),R.extend(t,e,null,{allOwnKeys:!0}),t.create=function(n){return yC(ui(A,n))},t}const ee=yC(Uh);ee.Axios=Fa;ee.CanceledError=eo;ee.CancelToken=rD;ee.isCancel=mC;ee.VERSION=CC;ee.toFormData=eu;ee.AxiosError=hA;ee.Cancel=ee.CanceledError;ee.all=function(e){return Promise.all(e)};ee.spread=nD;ee.isAxiosError=iD;ee.mergeConfig=ui;ee.AxiosHeaders=Jt;ee.formToJSON=A=>wC(R.isHTMLForm(A)?new FormData(A):A);ee.HttpStatusCode=sD;ee.default=ee;const Kg=ee,oD=()=>{const A=K.useRef(null),e=NF({mutationFn:async({img:r})=>{Kg.defaults.headers.common.Authorization=`Bearer ${mS}`;const n=await Kg.post(wS,{labelCode:Mi.labelId,page:1,frontPage:1,image:r.split(",")[1],articleList:[{articleId:Mi.productId,articleName:Mi.productName,nfcUrl:"http://www.solumesl.com",data:{ARTICLE_ID:Mi.productId,ARTICLE_NAME:Mi.productName,NFC_URL:"http://www.solum.com/p/JC000001",SALE_PRICE:"$100",DISCOUNT_PRICE:"$90"}}]},{headers:{"Content-Type":"application/json; charset=utf-8 "}});console.log(n)}});return{domRef:A,handleSendEslClick:async()=>{if(A.current){const r=await kL(A.current,{width:$v,height:A0,scale:1});e.mutate({img:r.toDataURL()})}}}},aD=({children:A})=>{const{domRef:e,handleSendEslClick:t}=oD();return Q.jsxs(Q.Fragment,{children:[Q.jsx("div",{ref:e,style:{width:$v,height:A0},children:A}),Q.jsx("button",{onClick:t,children:"Send esl"})]})},lD=()=>{const[A,e]=K.useState("A"),t=r=>{const n=r.target;e(n.dataset.type)};return Q.jsxs("div",{className:"preview-choose-type-container",children:[Q.jsx("div",{className:A==="A"?"preview-choose-type-box":"preview-not-choose-type-box",onClick:t,"data-type":"A",children:"CardMe Type A"}),Q.jsx("div",{className:A==="B"?"preview-choose-type-box":"preview-not-choose-type-box",onClick:t,"data-type":"B",children:"CardMe Type B"})]})};var QC={},nu={},Ih={},Qc={},Fc={exports:{}},Uc,_g;function uD(){if(_g)return Uc;_g=1;var A="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Uc=A,Uc}var Ec,Pg;function cD(){if(Pg)return Ec;Pg=1;var A=uD();function e(){}function t(){}return t.resetWarningCache=e,Ec=function(){function r(s,o,a,l,u,c){if(c!==A){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}r.isRequired=r;function n(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:n,element:r,elementType:r,instanceOf:n,node:r,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:t,resetWarningCache:e};return i.PropTypes=i,i},Ec}var Ng;function fD(){return Ng||(Ng=1,Fc.exports=cD()()),Fc.exports}var kg;function dD(){return kg||(kg=1,function(A){(function(e,t){t(A,K,fD())})(Xg,function(e,t,r){Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=B;var n=s(t),i=s(r);function s(d){return d&&d.__esModule?d:{default:d}}var o=Object.assign||function(d){for(var w=1;w=0||Object.prototype.hasOwnProperty.call(d,C)&&(h[C]=d[C]);return h}function l(d,w){if(!(d instanceof w))throw new TypeError("Cannot call a class as a function")}var u=function(){function d(w,h){for(var C=0;C0&&arguments[0]!==void 0?arguments[0]:{capture:!0};return g?d:d.capture}function S(d){if("touches"in d){var w=d.touches[0],h=w.pageX,C=w.pageY;return{x:h,y:C}}var y=d.screenX,U=d.screenY;return{x:y,y:U}}var p=function(d){f(w,d);function w(){var h;l(this,w);for(var C=arguments.length,y=Array(C),U=0;Uy&&this.props.onSwipeRight(1,C),this.movePosition.deltaY<-y?this.props.onSwipeUp(1,C):this.movePosition.deltaY>y&&this.props.onSwipeDown(1,C)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(C){this.swiper=C,this.props.innerRef(C)}},{key:"render",value:function(){var C=this.props;C.tagName;var y=C.className,U=C.style,v=C.children;C.allowMouseEvents,C.onSwipeUp,C.onSwipeDown,C.onSwipeLeft,C.onSwipeRight,C.onSwipeStart,C.onSwipeMove,C.onSwipeEnd,C.innerRef,C.tolerance;var E=a(C,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]);return n.default.createElement(this.props.tagName,o({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:y,style:U},E),v)}}]),w}(t.Component);p.displayName="ReactSwipe",p.propTypes={tagName:i.default.string,className:i.default.string,style:i.default.object,children:i.default.node,allowMouseEvents:i.default.bool,onSwipeUp:i.default.func,onSwipeDown:i.default.func,onSwipeLeft:i.default.func,onSwipeRight:i.default.func,onSwipeStart:i.default.func,onSwipeMove:i.default.func,onSwipeEnd:i.default.func,innerRef:i.default.func,tolerance:i.default.number.isRequired},p.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=p})}(Qc)),Qc}(function(A){(function(e,t){t(A,dD())})(Xg,function(e,t){Object.defineProperty(e,"__esModule",{value:!0});var r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default})})(Ih);var to={},FC={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(A){(function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function gl(A){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},gl(A)}function we(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}var ID=function(e){return e.hasOwnProperty("key")},Hh=function(A){FD(t,A);var e=UD(t);function t(r){var n;return yD(this,t),n=e.call(this,r),we(Qe(n),"itemsWrapperRef",void 0),we(Qe(n),"itemsListRef",void 0),we(Qe(n),"thumbsRef",void 0),we(Qe(n),"setItemsWrapperRef",function(i){n.itemsWrapperRef=i}),we(Qe(n),"setItemsListRef",function(i){n.itemsListRef=i}),we(Qe(n),"setThumbsRef",function(i,s){n.thumbsRef||(n.thumbsRef=[]),n.thumbsRef[s]=i}),we(Qe(n),"updateSizes",function(){if(!(!n.props.children||!n.itemsWrapperRef||!n.thumbsRef)){var i=ot.Children.count(n.props.children),s=n.itemsWrapperRef.clientWidth,o=n.props.thumbWidth?n.props.thumbWidth:(0,mD.outerWidth)(n.thumbsRef[0]),a=Math.floor(s/o),l=a0&&(s=0),l===c&&s<0&&(s=0);var f=n.itemsWrapperRef.clientWidth,g=l+100/(f/s);return n.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(B){n.itemsListRef.style[B]=(0,Vg.default)(g,"%",n.props.axis)}),!0}),we(Qe(n),"slideRight",function(i){n.moveTo(n.state.firstItem-(typeof i=="number"?i:1))}),we(Qe(n),"slideLeft",function(i){n.moveTo(n.state.firstItem+(typeof i=="number"?i:1))}),we(Qe(n),"moveTo",function(i){i=i<0?0:i,i=i>=n.state.lastPosition?n.state.lastPosition:i,n.setState({firstItem:i})}),n.state={selectedItem:r.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},n}return QD(t,[{key:"componentDidMount",value:function(){this.setupThumbs()}},{key:"componentDidUpdate",value:function(n){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==n.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function(){this.destroyThumbs()}},{key:"setupThumbs",value:function(){(0,Aa.default)().addEventListener("resize",this.updateSizes),(0,Aa.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function(){(0,Aa.default)().removeEventListener("resize",this.updateSizes),(0,Aa.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function(n){var i=n;return n>=this.state.lastPosition&&(i=this.state.lastPosition),n1,s=this.state.showArrows&&this.state.firstItem>0,o=this.state.showArrows&&this.state.firstItems);if(o)return i<0?e.centerMode&&e.centerSlidePercentage&&e.axis==="horizontal"?r.itemListStyle=(0,Ht.setPosition)(-(s+2)*e.centerSlidePercentage-(100-e.centerSlidePercentage)/2,e.axis):r.itemListStyle=(0,Ht.setPosition)(-(s+2)*100,e.axis):i>s&&(r.itemListStyle=(0,Ht.setPosition)(0,e.axis)),r;var a=(0,Ht.getPosition)(n,e),l=(0,KD.default)(a,"%",e.axis),u=e.transitionTime+"ms";return r.itemListStyle={WebkitTransform:l,msTransform:l,OTransform:l,transform:l},t.swiping||(r.itemListStyle=Xr(Xr({},r.itemListStyle),{},{WebkitTransitionDuration:u,MozTransitionDuration:u,OTransitionDuration:u,transitionDuration:u,msTransitionDuration:u})),r};It.slideAnimationHandler=ND;var kD=function(e,t,r,n){var i={},s=t.axis==="horizontal",o=EC.Children.count(t.children),a=0,l=(0,Ht.getPosition)(r.selectedItem,t),u=t.infiniteLoop?(0,Ht.getPosition)(o-1,t)-100:(0,Ht.getPosition)(o-1,t),c=s?e.x:e.y,f=c;l===a&&c>0&&(f=0),l===u&&c<0&&(f=0);var g=l+100/(r.itemSize/f),B=Math.abs(c)>t.swipeScrollTolerance;return t.infiniteLoop&&B&&(r.selectedItem===0&&g>-100?g-=o*100:r.selectedItem===o-1&&g<-o*100&&(g+=o*100)),(!t.preventMovementUntilSwipeScrollTolerance||B||r.swipeMovementStarted)&&(r.swipeMovementStarted||n({swipeMovementStarted:!0}),i.itemListStyle=(0,Ht.setPosition)(g,t.axis)),B&&!r.cancelClick&&n({cancelClick:!0}),i};It.slideSwipeAnimationHandler=kD;var VD=function(e,t){var r=(0,Ht.getPosition)(t.selectedItem,e),n=(0,Ht.setPosition)(r,e.axis);return{itemListStyle:n}};It.slideStopSwipingHandler=VD;var GD=function(e,t){var r=e.transitionTime+"ms",n="ease-in-out",i={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:n,msTransitionTimingFunction:n,MozTransitionTimingFunction:n,WebkitTransitionTimingFunction:n,OTransitionTimingFunction:n};return t.swiping||(i=Xr(Xr({},i),{},{WebkitTransitionDuration:r,MozTransitionDuration:r,OTransitionDuration:r,transitionDuration:r,msTransitionDuration:r})),{slideStyle:i,selectedStyle:Xr(Xr({},i),{},{opacity:1,position:"relative"}),prevStyle:Xr({},i)}};It.fadeAnimationHandler=GD;Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var wA=zD(K),jD=io(Ih),Gt=io(to),WD=io(ro),ea=io(ou),ta=io(no),es=_e,wl=It;function io(A){return A&&A.__esModule?A:{default:A}}function SC(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return SC=function(){return A},A}function zD(A){if(A&&A.__esModule)return A;if(A===null||ws(A)!=="object"&&typeof A!="function")return{default:A};var e=SC();if(e&&e.has(A))return e.get(A);var t={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in A)if(Object.prototype.hasOwnProperty.call(A,n)){var i=r?Object.getOwnPropertyDescriptor(A,n):null;i&&(i.get||i.set)?Object.defineProperty(t,n,i):t[n]=A[n]}return t.default=A,e&&e.set(A,t),t}function ws(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ws=function(t){return typeof t}:ws=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ws(A)}function nd(){return nd=Object.assign||function(A){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ml(A){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ml(A)}function oA(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}var xh=function(A){YD(t,A);var e=ZD(t);function t(r){var n;XD(this,t),n=e.call(this,r),oA(lA(n),"thumbsRef",void 0),oA(lA(n),"carouselWrapperRef",void 0),oA(lA(n),"listRef",void 0),oA(lA(n),"itemsRef",void 0),oA(lA(n),"timer",void 0),oA(lA(n),"animationHandler",void 0),oA(lA(n),"setThumbsRef",function(s){n.thumbsRef=s}),oA(lA(n),"setCarouselWrapperRef",function(s){n.carouselWrapperRef=s}),oA(lA(n),"setListRef",function(s){n.listRef=s}),oA(lA(n),"setItemsRef",function(s,o){n.itemsRef||(n.itemsRef=[]),n.itemsRef[o]=s}),oA(lA(n),"autoPlay",function(){wA.Children.count(n.props.children)<=1||(n.clearAutoPlay(),n.props.autoPlay&&(n.timer=setTimeout(function(){n.increment()},n.props.interval)))}),oA(lA(n),"clearAutoPlay",function(){n.timer&&clearTimeout(n.timer)}),oA(lA(n),"resetAutoPlay",function(){n.clearAutoPlay(),n.autoPlay()}),oA(lA(n),"stopOnHover",function(){n.setState({isMouseEntered:!0},n.clearAutoPlay)}),oA(lA(n),"startOnLeave",function(){n.setState({isMouseEntered:!1},n.autoPlay)}),oA(lA(n),"isFocusWithinTheCarousel",function(){return n.carouselWrapperRef?!!((0,ea.default)().activeElement===n.carouselWrapperRef||n.carouselWrapperRef.contains((0,ea.default)().activeElement)):!1}),oA(lA(n),"navigateWithKeyboard",function(s){if(n.isFocusWithinTheCarousel()){var o=n.props.axis,a=o==="horizontal",l={ArrowUp:38,ArrowRight:39,ArrowDown:40,ArrowLeft:37},u=a?l.ArrowRight:l.ArrowDown,c=a?l.ArrowLeft:l.ArrowUp;u===s.keyCode?n.increment():c===s.keyCode&&n.decrement()}}),oA(lA(n),"updateSizes",function(){if(!(!n.state.initialized||!n.itemsRef||n.itemsRef.length===0)){var s=n.props.axis==="horizontal",o=n.itemsRef[0];if(o){var a=s?o.clientWidth:o.clientHeight;n.setState({itemSize:a}),n.thumbsRef&&n.thumbsRef.updateSizes()}}}),oA(lA(n),"setMountState",function(){n.setState({hasMount:!0}),n.updateSizes()}),oA(lA(n),"handleClickItem",function(s,o){if(wA.Children.count(n.props.children)!==0){if(n.state.cancelClick){n.setState({cancelClick:!1});return}n.props.onClickItem(s,o),s!==n.state.selectedItem&&n.setState({selectedItem:s})}}),oA(lA(n),"handleOnChange",function(s,o){wA.Children.count(n.props.children)<=1||n.props.onChange(s,o)}),oA(lA(n),"handleClickThumb",function(s,o){n.props.onClickThumb(s,o),n.moveTo(s)}),oA(lA(n),"onSwipeStart",function(s){n.setState({swiping:!0}),n.props.onSwipeStart(s)}),oA(lA(n),"onSwipeEnd",function(s){n.setState({swiping:!1,cancelClick:!1,swipeMovementStarted:!1}),n.props.onSwipeEnd(s),n.clearAutoPlay(),n.state.autoPlay&&n.autoPlay()}),oA(lA(n),"onSwipeMove",function(s,o){n.props.onSwipeMove(o);var a=n.props.swipeAnimationHandler(s,n.props,n.state,n.setState.bind(lA(n)));return n.setState(at({},a)),!!Object.keys(a).length}),oA(lA(n),"decrement",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;n.moveTo(n.state.selectedItem-(typeof s=="number"?s:1))}),oA(lA(n),"increment",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;n.moveTo(n.state.selectedItem+(typeof s=="number"?s:1))}),oA(lA(n),"moveTo",function(s){if(typeof s=="number"){var o=wA.Children.count(n.props.children)-1;s<0&&(s=n.props.infiniteLoop?o:0),s>o&&(s=n.props.infiniteLoop?0:o),n.selectItem({selectedItem:s}),n.state.autoPlay&&n.state.isMouseEntered===!1&&n.resetAutoPlay()}}),oA(lA(n),"onClickNext",function(){n.increment(1)}),oA(lA(n),"onClickPrev",function(){n.decrement(1)}),oA(lA(n),"onSwipeForward",function(){n.increment(1),n.props.emulateTouch&&n.setState({cancelClick:!0})}),oA(lA(n),"onSwipeBackwards",function(){n.decrement(1),n.props.emulateTouch&&n.setState({cancelClick:!0})}),oA(lA(n),"changeItem",function(s){return function(o){(!(0,es.isKeyboardEvent)(o)||o.key==="Enter")&&n.moveTo(s)}}),oA(lA(n),"selectItem",function(s){n.setState(at({previousItem:n.state.selectedItem},s),function(){n.setState(n.animationHandler(n.props,n.state))}),n.handleOnChange(s.selectedItem,wA.Children.toArray(n.props.children)[s.selectedItem])}),oA(lA(n),"getInitialImage",function(){var s=n.props.selectedItem,o=n.itemsRef&&n.itemsRef[s],a=o&&o.getElementsByTagName("img")||[];return a[0]}),oA(lA(n),"getVariableItemHeight",function(s){var o=n.itemsRef&&n.itemsRef[s];if(n.state.hasMount&&o&&o.children.length){var a=o.children[0].getElementsByTagName("img")||[];if(a.length>0){var l=a[0];if(!l.complete){var u=function g(){n.forceUpdate(),l.removeEventListener("load",g)};l.addEventListener("load",u)}}var c=a[0]||o.children[0],f=c.clientHeight;return f>0?f:null}return null});var i={initialized:!1,previousItem:r.selectedItem,selectedItem:r.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:r.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return n.animationHandler=typeof r.animationHandler=="function"&&r.animationHandler||r.animationHandler==="fade"&&wl.fadeAnimationHandler||wl.slideAnimationHandler,n.state=at(at({},i),n.animationHandler(r,i)),n}return JD(t,[{key:"componentDidMount",value:function(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function(n,i){!n.children&&this.props.children&&!this.state.initialized&&this.setupCarousel(),!n.autoFocus&&this.props.autoFocus&&this.forceFocus(),i.swiping&&!this.state.swiping&&this.setState(at({},this.props.stopSwipingHandler(this.props,this.state))),(n.selectedItem!==this.props.selectedItem||n.centerMode!==this.props.centerMode)&&(this.updateSizes(),this.moveTo(this.props.selectedItem)),n.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function(){this.destroyCarousel()}},{key:"setupCarousel",value:function(){var n=this;this.bindEvents(),this.state.autoPlay&&wA.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},function(){var i=n.getInitialImage();i&&!i.complete?i.addEventListener("load",n.setMountState):n.setMountState()})}},{key:"destroyCarousel",value:function(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function(){this.autoPlay();var n=this.carouselWrapperRef;this.props.stopOnHover&&n&&(n.addEventListener("mouseenter",this.stopOnHover),n.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function(){this.clearAutoPlay();var n=this.carouselWrapperRef;this.props.stopOnHover&&n&&(n.removeEventListener("mouseenter",this.stopOnHover),n.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function(){(0,ta.default)().addEventListener("resize",this.updateSizes),(0,ta.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,ea.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function(){(0,ta.default)().removeEventListener("resize",this.updateSizes),(0,ta.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var n=this.getInitialImage();n&&n.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,ea.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function(){var n;(n=this.carouselWrapperRef)===null||n===void 0||n.focus()}},{key:"renderItems",value:function(n){var i=this;return this.props.children?wA.Children.map(this.props.children,function(s,o){var a=o===i.state.selectedItem,l=o===i.state.previousItem,u=a&&i.state.selectedStyle||l&&i.state.prevStyle||i.state.slideStyle||{};i.props.centerMode&&i.props.axis==="horizontal"&&(u=at(at({},u),{},{minWidth:i.props.centerSlidePercentage+"%"})),i.state.swiping&&i.state.swipeMovementStarted&&(u=at(at({},u),{},{pointerEvents:"none"}));var c={ref:function(g){return i.setItemsRef(g,o)},key:"itemKey"+o+(n?"clone":""),className:Gt.default.ITEM(!0,o===i.state.selectedItem,o===i.state.previousItem),onClick:i.handleClickItem.bind(i,o,s),style:u};return wA.default.createElement("li",c,i.props.renderItem(s,{isSelected:o===i.state.selectedItem,isPrevious:o===i.state.previousItem}))}):[]}},{key:"renderControls",value:function(){var n=this,i=this.props,s=i.showIndicators,o=i.labels,a=i.renderIndicator,l=i.children;return s?wA.default.createElement("ul",{className:"control-dots"},wA.Children.map(l,function(u,c){return a&&a(n.changeItem(c),c===n.state.selectedItem,c,o.item)})):null}},{key:"renderStatus",value:function(){return this.props.showStatus?wA.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,wA.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function(){return!this.props.showThumbs||!this.props.children||wA.Children.count(this.props.children)===0?null:wA.default.createElement(WD.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children))}},{key:"render",value:function(){var n=this;if(!this.props.children||wA.Children.count(this.props.children)===0)return null;var i=this.props.swipeable&&wA.Children.count(this.props.children)>1,s=this.props.axis==="horizontal",o=this.props.showArrows&&wA.Children.count(this.props.children)>1,a=o&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,l=o&&(this.state.selectedItem{const[A,e]=K.useState(0),t=["/svg/idcard_basic.svg","/svg/idcard_mude.svg","/svg/meeting_add.svg","/svg/meeting_cancel.svg","/svg/meeting_30.svg"];return console.log(A),Q.jsxs(Q.Fragment,{children:[Q.jsx("div",{className:"preview-image-container",children:Q.jsx("div",{className:"preview-choose-carousel",children:Q.jsx(QC.Carousel,{showArrows:!1,showThumbs:!1,showStatus:!1,showIndicators:!1,autoPlay:!0,infiniteLoop:!0,onChange:r=>{e(r)},children:t.map((r,n)=>Q.jsx("div",{className:"preview-choose-carousel-img",children:Q.jsx("img",{src:r})},n))})})}),Q.jsx("div",{className:"preview-carousel-bar",children:t.map((r,n)=>Q.jsx("div",{className:A===n?"preview-carousel-circle-black":"preview-carousel-circle-gray"},n))})]})},tT=()=>{const[,A]=be(hi),[,e]=be(lh);return K.useLayoutEffect(()=>{A({title:"CardMe Preview",back:!0}),e({text:"Modification"})},[]),Q.jsxs("div",{className:"preview-container",children:[Q.jsx(oD,{}),Q.jsx(eT,{}),Q.jsx(hS,{}),Q.jsx(sD,{children:"."})]})},IC="https://junction-asia-2023.github.io/just-label/svg/Calendar.svg",rT="https://junction-asia-2023.github.io/just-label/svg/Clock.svg",nT="https://junction-asia-2023.github.io/just-label/svg/Home.svg",iT="https://junction-asia-2023.github.io/just-label/svg/Users.svg",sd="https://junction-asia-2023.github.io/just-label/svg/Arrow.svg",sT=({type:A})=>Q.jsx("span",{className:`badge badge-${A}`}),oT=({type:A,title:e,date:t,time:r,place:n,people:i})=>Q.jsxs("div",{className:"meeting-item",children:[Q.jsxs("h2",{children:[Q.jsxs("span",{children:[Q.jsx(sT,{type:A}),e.slice(0,26),e.length>26&&"⋯"]}),Q.jsx("img",{src:sd})]}),Q.jsxs("p",{children:[Q.jsx("img",{src:IC}),t]}),Q.jsxs("p",{children:[Q.jsx("img",{src:rT}),r]}),Q.jsxs("p",{children:[Q.jsx("img",{src:nT}),n]}),i&&Q.jsxs("p",{children:[Q.jsx("img",{src:iT}),i]})]}),aT=({onClick:A})=>Q.jsxs("div",{className:"week-selector",children:[Q.jsx("img",{className:"arrow arrow-left",src:sd,onClick:A}),Q.jsxs("h1",{children:[Q.jsx("img",{src:IC}),"00.00  ~  00.00"]}),Q.jsx("img",{className:"arrow arrow-right",src:sd,onClick:A})]});var ut=(A=>(A.Team="team",A.Business="business",A.Personal="personal",A))(ut||{});const Vi=[{type:ut.Team,title:"Team Meeting Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Business,title:"Business Trip/Outside Work Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A"},{type:ut.Team,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Business,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"Hall A",people:"Andreas"},{type:ut.Business,title:"Business Trip/Outside Work Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Team,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A"}],lT=()=>{const[A,e]=K.useState([...Vi]);return{dummyMeetings:A,handleWeekChange:()=>{e([Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)]])}}},uT=()=>{const[,A]=be(hi),{dummyMeetings:e,handleWeekChange:t}=lT();return K.useLayoutEffect(()=>{A({title:"Schedule",back:!0})},[]),Q.jsxs("div",{className:"schedule-container",children:[Q.jsx(aT,{onClick:t}),(e||[]).map((r,n)=>Q.jsx(oT,{...r},n))]})},cT=()=>{const[A,e]=K.useState(!1),[,t]=be(hi);return K.useLayoutEffect(()=>{t({back:!0,title:"Event"})},[]),{open:A,handleImageClick:()=>{e(!0)}}},fT="https://junction-asia-2023.github.io/just-label/svg/gift1.svg",dT="https://junction-asia-2023.github.io/just-label/svg/gift2.svg";const hT=()=>{const{open:A,handleImageClick:e}=cT();return Q.jsx("div",{className:"event-container",children:Q.jsxs("div",{className:"wrap",children:[Q.jsxs("div",{className:"content",children:[Q.jsx("span",{className:"label",children:"JUNCTION Event"}),Q.jsx("div",{className:"title",children:"Who is the lucky one who got the winning gift?"})]}),Q.jsx("div",{className:"gift",onClick:e,children:Q.jsx("img",{src:A?dT:fT,alt:"gift"})}),Q.jsx("div",{className:"description",children:"Press the gift box and check the winning results"})]})})},BT=Sf(Q.jsxs(Nt,{path:"/",element:Q.jsx(K.Suspense,{children:Q.jsx(yE,{})}),errorElement:Q.jsx(fS,{}),children:[Q.jsx(Nt,{index:!0,element:Q.jsx(RE,{})}),Q.jsx(Nt,{path:"login",element:Q.jsx(AS,{})}),Q.jsx(Nt,{path:"setting",element:Q.jsx(cS,{})}),Q.jsx(Nt,{path:"preview",element:Q.jsx(tT,{})}),Q.jsx(Nt,{path:"schedule",element:Q.jsx(uT,{})}),Q.jsx(Nt,{path:"event",element:Q.jsx(hT,{})}),Q.jsx(Nt,{path:"*",element:Q.jsx(dS,{})})]})),pT=qU(BT),gT=new QF,wT=()=>Q.jsx(MF,{client:gT,children:Q.jsx(_F,{children:Q.jsx(zU,{router:pT})})});Sc.createRoot(document.getElementById("root")).render(Q.jsx(TA.StrictMode,{children:Q.jsx(wT,{})})); +*/(function(A){(function(){var e={}.hasOwnProperty;function t(){for(var r=[],n=0;n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function gl(A){return gl=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},gl(A)}function we(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}var xD=function(e){return e.hasOwnProperty("key")},Hh=function(A){ED(t,A);var e=SD(t);function t(r){var n;return FD(this,t),n=e.call(this,r),we(Qe(n),"itemsWrapperRef",void 0),we(Qe(n),"itemsListRef",void 0),we(Qe(n),"thumbsRef",void 0),we(Qe(n),"setItemsWrapperRef",function(i){n.itemsWrapperRef=i}),we(Qe(n),"setItemsListRef",function(i){n.itemsListRef=i}),we(Qe(n),"setThumbsRef",function(i,s){n.thumbsRef||(n.thumbsRef=[]),n.thumbsRef[s]=i}),we(Qe(n),"updateSizes",function(){if(!(!n.props.children||!n.itemsWrapperRef||!n.thumbsRef)){var i=ot.Children.count(n.props.children),s=n.itemsWrapperRef.clientWidth,o=n.props.thumbWidth?n.props.thumbWidth:(0,CD.outerWidth)(n.thumbsRef[0]),a=Math.floor(s/o),l=a0&&(s=0),l===c&&s<0&&(s=0);var f=n.itemsWrapperRef.clientWidth,g=l+100/(f/s);return n.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(B){n.itemsListRef.style[B]=(0,Vg.default)(g,"%",n.props.axis)}),!0}),we(Qe(n),"slideRight",function(i){n.moveTo(n.state.firstItem-(typeof i=="number"?i:1))}),we(Qe(n),"slideLeft",function(i){n.moveTo(n.state.firstItem+(typeof i=="number"?i:1))}),we(Qe(n),"moveTo",function(i){i=i<0?0:i,i=i>=n.state.lastPosition?n.state.lastPosition:i,n.setState({firstItem:i})}),n.state={selectedItem:r.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},n}return UD(t,[{key:"componentDidMount",value:function(){this.setupThumbs()}},{key:"componentDidUpdate",value:function(n){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==n.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function(){this.destroyThumbs()}},{key:"setupThumbs",value:function(){(0,Aa.default)().addEventListener("resize",this.updateSizes),(0,Aa.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function(){(0,Aa.default)().removeEventListener("resize",this.updateSizes),(0,Aa.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function(n){var i=n;return n>=this.state.lastPosition&&(i=this.state.lastPosition),n1,s=this.state.showArrows&&this.state.firstItem>0,o=this.state.showArrows&&this.state.firstItems);if(o)return i<0?e.centerMode&&e.centerSlidePercentage&&e.axis==="horizontal"?r.itemListStyle=(0,Ht.setPosition)(-(s+2)*e.centerSlidePercentage-(100-e.centerSlidePercentage)/2,e.axis):r.itemListStyle=(0,Ht.setPosition)(-(s+2)*100,e.axis):i>s&&(r.itemListStyle=(0,Ht.setPosition)(0,e.axis)),r;var a=(0,Ht.getPosition)(n,e),l=(0,PD.default)(a,"%",e.axis),u=e.transitionTime+"ms";return r.itemListStyle={WebkitTransform:l,msTransform:l,OTransform:l,transform:l},t.swiping||(r.itemListStyle=Xr(Xr({},r.itemListStyle),{},{WebkitTransitionDuration:u,MozTransitionDuration:u,OTransitionDuration:u,transitionDuration:u,msTransitionDuration:u})),r};It.slideAnimationHandler=VD;var GD=function(e,t,r,n){var i={},s=t.axis==="horizontal",o=EC.Children.count(t.children),a=0,l=(0,Ht.getPosition)(r.selectedItem,t),u=t.infiniteLoop?(0,Ht.getPosition)(o-1,t)-100:(0,Ht.getPosition)(o-1,t),c=s?e.x:e.y,f=c;l===a&&c>0&&(f=0),l===u&&c<0&&(f=0);var g=l+100/(r.itemSize/f),B=Math.abs(c)>t.swipeScrollTolerance;return t.infiniteLoop&&B&&(r.selectedItem===0&&g>-100?g-=o*100:r.selectedItem===o-1&&g<-o*100&&(g+=o*100)),(!t.preventMovementUntilSwipeScrollTolerance||B||r.swipeMovementStarted)&&(r.swipeMovementStarted||n({swipeMovementStarted:!0}),i.itemListStyle=(0,Ht.setPosition)(g,t.axis)),B&&!r.cancelClick&&n({cancelClick:!0}),i};It.slideSwipeAnimationHandler=GD;var jD=function(e,t){var r=(0,Ht.getPosition)(t.selectedItem,e),n=(0,Ht.setPosition)(r,e.axis);return{itemListStyle:n}};It.slideStopSwipingHandler=jD;var WD=function(e,t){var r=e.transitionTime+"ms",n="ease-in-out",i={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:n,msTransitionTimingFunction:n,MozTransitionTimingFunction:n,WebkitTransitionTimingFunction:n,OTransitionTimingFunction:n};return t.swiping||(i=Xr(Xr({},i),{},{WebkitTransitionDuration:r,MozTransitionDuration:r,OTransitionDuration:r,transitionDuration:r,msTransitionDuration:r})),{slideStyle:i,selectedStyle:Xr(Xr({},i),{},{opacity:1,position:"relative"}),prevStyle:Xr({},i)}};It.fadeAnimationHandler=WD;Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var wA=JD(K),zD=io(Ih),Gt=io(to),XD=io(ro),ea=io(ou),ta=io(no),es=_e,wl=It;function io(A){return A&&A.__esModule?A:{default:A}}function SC(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return SC=function(){return A},A}function JD(A){if(A&&A.__esModule)return A;if(A===null||ws(A)!=="object"&&typeof A!="function")return{default:A};var e=SC();if(e&&e.has(A))return e.get(A);var t={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in A)if(Object.prototype.hasOwnProperty.call(A,n)){var i=r?Object.getOwnPropertyDescriptor(A,n):null;i&&(i.get||i.set)?Object.defineProperty(t,n,i):t[n]=A[n]}return t.default=A,e&&e.set(A,t),t}function ws(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ws=function(t){return typeof t}:ws=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ws(A)}function nd(){return nd=Object.assign||function(A){for(var e=1;e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ml(A){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ml(A)}function oA(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}var xh=function(A){qD(t,A);var e=$D(t);function t(r){var n;YD(this,t),n=e.call(this,r),oA(lA(n),"thumbsRef",void 0),oA(lA(n),"carouselWrapperRef",void 0),oA(lA(n),"listRef",void 0),oA(lA(n),"itemsRef",void 0),oA(lA(n),"timer",void 0),oA(lA(n),"animationHandler",void 0),oA(lA(n),"setThumbsRef",function(s){n.thumbsRef=s}),oA(lA(n),"setCarouselWrapperRef",function(s){n.carouselWrapperRef=s}),oA(lA(n),"setListRef",function(s){n.listRef=s}),oA(lA(n),"setItemsRef",function(s,o){n.itemsRef||(n.itemsRef=[]),n.itemsRef[o]=s}),oA(lA(n),"autoPlay",function(){wA.Children.count(n.props.children)<=1||(n.clearAutoPlay(),n.props.autoPlay&&(n.timer=setTimeout(function(){n.increment()},n.props.interval)))}),oA(lA(n),"clearAutoPlay",function(){n.timer&&clearTimeout(n.timer)}),oA(lA(n),"resetAutoPlay",function(){n.clearAutoPlay(),n.autoPlay()}),oA(lA(n),"stopOnHover",function(){n.setState({isMouseEntered:!0},n.clearAutoPlay)}),oA(lA(n),"startOnLeave",function(){n.setState({isMouseEntered:!1},n.autoPlay)}),oA(lA(n),"isFocusWithinTheCarousel",function(){return n.carouselWrapperRef?!!((0,ea.default)().activeElement===n.carouselWrapperRef||n.carouselWrapperRef.contains((0,ea.default)().activeElement)):!1}),oA(lA(n),"navigateWithKeyboard",function(s){if(n.isFocusWithinTheCarousel()){var o=n.props.axis,a=o==="horizontal",l={ArrowUp:38,ArrowRight:39,ArrowDown:40,ArrowLeft:37},u=a?l.ArrowRight:l.ArrowDown,c=a?l.ArrowLeft:l.ArrowUp;u===s.keyCode?n.increment():c===s.keyCode&&n.decrement()}}),oA(lA(n),"updateSizes",function(){if(!(!n.state.initialized||!n.itemsRef||n.itemsRef.length===0)){var s=n.props.axis==="horizontal",o=n.itemsRef[0];if(o){var a=s?o.clientWidth:o.clientHeight;n.setState({itemSize:a}),n.thumbsRef&&n.thumbsRef.updateSizes()}}}),oA(lA(n),"setMountState",function(){n.setState({hasMount:!0}),n.updateSizes()}),oA(lA(n),"handleClickItem",function(s,o){if(wA.Children.count(n.props.children)!==0){if(n.state.cancelClick){n.setState({cancelClick:!1});return}n.props.onClickItem(s,o),s!==n.state.selectedItem&&n.setState({selectedItem:s})}}),oA(lA(n),"handleOnChange",function(s,o){wA.Children.count(n.props.children)<=1||n.props.onChange(s,o)}),oA(lA(n),"handleClickThumb",function(s,o){n.props.onClickThumb(s,o),n.moveTo(s)}),oA(lA(n),"onSwipeStart",function(s){n.setState({swiping:!0}),n.props.onSwipeStart(s)}),oA(lA(n),"onSwipeEnd",function(s){n.setState({swiping:!1,cancelClick:!1,swipeMovementStarted:!1}),n.props.onSwipeEnd(s),n.clearAutoPlay(),n.state.autoPlay&&n.autoPlay()}),oA(lA(n),"onSwipeMove",function(s,o){n.props.onSwipeMove(o);var a=n.props.swipeAnimationHandler(s,n.props,n.state,n.setState.bind(lA(n)));return n.setState(at({},a)),!!Object.keys(a).length}),oA(lA(n),"decrement",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;n.moveTo(n.state.selectedItem-(typeof s=="number"?s:1))}),oA(lA(n),"increment",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;n.moveTo(n.state.selectedItem+(typeof s=="number"?s:1))}),oA(lA(n),"moveTo",function(s){if(typeof s=="number"){var o=wA.Children.count(n.props.children)-1;s<0&&(s=n.props.infiniteLoop?o:0),s>o&&(s=n.props.infiniteLoop?0:o),n.selectItem({selectedItem:s}),n.state.autoPlay&&n.state.isMouseEntered===!1&&n.resetAutoPlay()}}),oA(lA(n),"onClickNext",function(){n.increment(1)}),oA(lA(n),"onClickPrev",function(){n.decrement(1)}),oA(lA(n),"onSwipeForward",function(){n.increment(1),n.props.emulateTouch&&n.setState({cancelClick:!0})}),oA(lA(n),"onSwipeBackwards",function(){n.decrement(1),n.props.emulateTouch&&n.setState({cancelClick:!0})}),oA(lA(n),"changeItem",function(s){return function(o){(!(0,es.isKeyboardEvent)(o)||o.key==="Enter")&&n.moveTo(s)}}),oA(lA(n),"selectItem",function(s){n.setState(at({previousItem:n.state.selectedItem},s),function(){n.setState(n.animationHandler(n.props,n.state))}),n.handleOnChange(s.selectedItem,wA.Children.toArray(n.props.children)[s.selectedItem])}),oA(lA(n),"getInitialImage",function(){var s=n.props.selectedItem,o=n.itemsRef&&n.itemsRef[s],a=o&&o.getElementsByTagName("img")||[];return a[0]}),oA(lA(n),"getVariableItemHeight",function(s){var o=n.itemsRef&&n.itemsRef[s];if(n.state.hasMount&&o&&o.children.length){var a=o.children[0].getElementsByTagName("img")||[];if(a.length>0){var l=a[0];if(!l.complete){var u=function g(){n.forceUpdate(),l.removeEventListener("load",g)};l.addEventListener("load",u)}}var c=a[0]||o.children[0],f=c.clientHeight;return f>0?f:null}return null});var i={initialized:!1,previousItem:r.selectedItem,selectedItem:r.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:r.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return n.animationHandler=typeof r.animationHandler=="function"&&r.animationHandler||r.animationHandler==="fade"&&wl.fadeAnimationHandler||wl.slideAnimationHandler,n.state=at(at({},i),n.animationHandler(r,i)),n}return ZD(t,[{key:"componentDidMount",value:function(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function(n,i){!n.children&&this.props.children&&!this.state.initialized&&this.setupCarousel(),!n.autoFocus&&this.props.autoFocus&&this.forceFocus(),i.swiping&&!this.state.swiping&&this.setState(at({},this.props.stopSwipingHandler(this.props,this.state))),(n.selectedItem!==this.props.selectedItem||n.centerMode!==this.props.centerMode)&&(this.updateSizes(),this.moveTo(this.props.selectedItem)),n.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function(){this.destroyCarousel()}},{key:"setupCarousel",value:function(){var n=this;this.bindEvents(),this.state.autoPlay&&wA.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},function(){var i=n.getInitialImage();i&&!i.complete?i.addEventListener("load",n.setMountState):n.setMountState()})}},{key:"destroyCarousel",value:function(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function(){this.autoPlay();var n=this.carouselWrapperRef;this.props.stopOnHover&&n&&(n.addEventListener("mouseenter",this.stopOnHover),n.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function(){this.clearAutoPlay();var n=this.carouselWrapperRef;this.props.stopOnHover&&n&&(n.removeEventListener("mouseenter",this.stopOnHover),n.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function(){(0,ta.default)().addEventListener("resize",this.updateSizes),(0,ta.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,ea.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function(){(0,ta.default)().removeEventListener("resize",this.updateSizes),(0,ta.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var n=this.getInitialImage();n&&n.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,ea.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function(){var n;(n=this.carouselWrapperRef)===null||n===void 0||n.focus()}},{key:"renderItems",value:function(n){var i=this;return this.props.children?wA.Children.map(this.props.children,function(s,o){var a=o===i.state.selectedItem,l=o===i.state.previousItem,u=a&&i.state.selectedStyle||l&&i.state.prevStyle||i.state.slideStyle||{};i.props.centerMode&&i.props.axis==="horizontal"&&(u=at(at({},u),{},{minWidth:i.props.centerSlidePercentage+"%"})),i.state.swiping&&i.state.swipeMovementStarted&&(u=at(at({},u),{},{pointerEvents:"none"}));var c={ref:function(g){return i.setItemsRef(g,o)},key:"itemKey"+o+(n?"clone":""),className:Gt.default.ITEM(!0,o===i.state.selectedItem,o===i.state.previousItem),onClick:i.handleClickItem.bind(i,o,s),style:u};return wA.default.createElement("li",c,i.props.renderItem(s,{isSelected:o===i.state.selectedItem,isPrevious:o===i.state.previousItem}))}):[]}},{key:"renderControls",value:function(){var n=this,i=this.props,s=i.showIndicators,o=i.labels,a=i.renderIndicator,l=i.children;return s?wA.default.createElement("ul",{className:"control-dots"},wA.Children.map(l,function(u,c){return a&&a(n.changeItem(c),c===n.state.selectedItem,c,o.item)})):null}},{key:"renderStatus",value:function(){return this.props.showStatus?wA.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,wA.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function(){return!this.props.showThumbs||!this.props.children||wA.Children.count(this.props.children)===0?null:wA.default.createElement(XD.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children))}},{key:"render",value:function(){var n=this;if(!this.props.children||wA.Children.count(this.props.children)===0)return null;var i=this.props.swipeable&&wA.Children.count(this.props.children)>1,s=this.props.axis==="horizontal",o=this.props.showArrows&&wA.Children.count(this.props.children)>1,a=o&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,l=o&&(this.state.selectedItem{const[A,e]=K.useState(0),t=[rT,nT,iT,sT,oT];return console.log(A),Q.jsxs(Q.Fragment,{children:[Q.jsx("div",{className:"preview-image-container",children:Q.jsx("div",{className:"preview-choose-carousel",children:Q.jsx(QC.Carousel,{showArrows:!1,showThumbs:!1,showStatus:!1,showIndicators:!1,autoPlay:!0,infiniteLoop:!0,onChange:r=>{e(r)},children:t.map((r,n)=>Q.jsx("div",{className:"preview-choose-carousel-img",children:Q.jsx("img",{src:r})},n))})})}),Q.jsx("div",{className:"preview-carousel-bar",children:t.map((r,n)=>Q.jsx("div",{className:A===n?"preview-carousel-circle-black":"preview-carousel-circle-gray"},n))})]})},lT=()=>{const[,A]=be(hi),[,e]=be(lh);return K.useLayoutEffect(()=>{A({title:"CardMe Preview",back:!0}),e({text:"Modification"})},[]),Q.jsxs("div",{className:"preview-container",children:[Q.jsx(lD,{}),Q.jsx(aT,{}),Q.jsx(pS,{}),Q.jsx(aD,{children:"."})]})},IC="https://junction-asia-2023.github.io/just-label/svg/Calendar.svg",uT="https://junction-asia-2023.github.io/just-label/svg/Clock.svg",cT="https://junction-asia-2023.github.io/just-label/svg/Home.svg",fT="https://junction-asia-2023.github.io/just-label/svg/Users.svg",sd="https://junction-asia-2023.github.io/just-label/svg/Arrow.svg",dT=({type:A})=>Q.jsx("span",{className:`badge badge-${A}`}),hT=({type:A,title:e,date:t,time:r,place:n,people:i})=>Q.jsxs("div",{className:"meeting-item",children:[Q.jsxs("h2",{children:[Q.jsxs("span",{children:[Q.jsx(dT,{type:A}),e.slice(0,26),e.length>26&&"⋯"]}),Q.jsx("img",{src:sd})]}),Q.jsxs("p",{children:[Q.jsx("img",{src:IC}),t]}),Q.jsxs("p",{children:[Q.jsx("img",{src:uT}),r]}),Q.jsxs("p",{children:[Q.jsx("img",{src:cT}),n]}),i&&Q.jsxs("p",{children:[Q.jsx("img",{src:fT}),i]})]}),BT=({onClick:A})=>Q.jsxs("div",{className:"week-selector",children:[Q.jsx("img",{className:"arrow arrow-left",src:sd,onClick:A}),Q.jsxs("h1",{children:[Q.jsx("img",{src:IC}),"00.00  ~  00.00"]}),Q.jsx("img",{className:"arrow arrow-right",src:sd,onClick:A})]});var ut=(A=>(A.Team="team",A.Business="business",A.Personal="personal",A))(ut||{});const Vi=[{type:ut.Team,title:"Team Meeting Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Business,title:"Business Trip/Outside Work Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A"},{type:ut.Team,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Business,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"Hall A",people:"Andreas"},{type:ut.Business,title:"Business Trip/Outside Work Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Team,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A",people:"Andreas and 14 others"},{type:ut.Personal,title:"Personal Schedule Title",date:"Wed, Aug 16th 2023",time:"14:00 ~ 17:00",place:"7F Conference Room A"}],pT=()=>{const[A,e]=K.useState([...Vi]);return{dummyMeetings:A,handleWeekChange:()=>{e([Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)],Vi[Math.floor(Math.random()*10)]])}}},gT=()=>{const[,A]=be(hi),{dummyMeetings:e,handleWeekChange:t}=pT();return K.useLayoutEffect(()=>{A({title:"Schedule",back:!0})},[]),Q.jsxs("div",{className:"schedule-container",children:[Q.jsx(BT,{onClick:t}),(e||[]).map((r,n)=>Q.jsx(hT,{...r},n))]})},wT=()=>{const[A,e]=K.useState(!1),[,t]=be(hi);return K.useLayoutEffect(()=>{t({back:!0,title:"Event"})},[]),{open:A,handleImageClick:()=>{e(!0)}}},mT="https://junction-asia-2023.github.io/just-label/svg/gift1.svg",vT="https://junction-asia-2023.github.io/just-label/svg/gift2.svg";const CT=()=>{const{open:A,handleImageClick:e}=wT();return Q.jsx("div",{className:"event-container",children:Q.jsxs("div",{className:"wrap",children:[Q.jsxs("div",{className:"content",children:[Q.jsx("span",{className:"label",children:"JUNCTION Event"}),Q.jsx("div",{className:"title",children:"Who is the lucky one who got the winning gift?"})]}),Q.jsx("div",{className:"gift",onClick:e,children:Q.jsx("img",{src:A?vT:mT,alt:"gift"})}),Q.jsx("div",{className:"description",children:"Press the gift box and check the winning results"})]})})},yT=Sf(Q.jsxs(Nt,{path:"/",element:Q.jsx(K.Suspense,{children:Q.jsx(yE,{})}),errorElement:Q.jsx(hS,{}),children:[Q.jsx(Nt,{index:!0,element:Q.jsx(RE,{})}),Q.jsx(Nt,{path:"login",element:Q.jsx(AS,{})}),Q.jsx(Nt,{path:"setting",element:Q.jsx(dS,{})}),Q.jsx(Nt,{path:"preview",element:Q.jsx(lT,{})}),Q.jsx(Nt,{path:"schedule",element:Q.jsx(gT,{})}),Q.jsx(Nt,{path:"event",element:Q.jsx(CT,{})}),Q.jsx(Nt,{path:"*",element:Q.jsx(BS,{})})]})),QT=qU(yT),FT=new QF,UT=()=>Q.jsx(MF,{client:FT,children:Q.jsx(_F,{children:Q.jsx(zU,{router:QT})})});Sc.createRoot(document.getElementById("root")).render(Q.jsx(TA.StrictMode,{children:Q.jsx(UT,{})})); diff --git a/index.html b/index.html index c137f56..d9077a3 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ /> CardMe - JUST - +