MODNet / _next /static /chunks /655-3aaed88d8190d795.js
wuchendi's picture
build(dependencies): Replace react-compare-image with react-compare-slider
faf74bb
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[655],{69:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},142:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]])},878:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("chart-line",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]])},1202:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]])},1794:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]])},1895:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){if(t&&e){var i=Array.isArray(e)?e:e.split(",");if(0===i.length)return!0;var n=t.name||"",a=(t.type||"").toLowerCase(),o=a.replace(/\/.*$/,"");return i.some(function(t){var e=t.trim().toLowerCase();return"."===e.charAt(0)?n.toLowerCase().endsWith(e):e.endsWith("/*")?o===e.replace(/\/.*$/,""):a===e})}return!0}},1904:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},3164:t=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3173:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},3962:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},4462:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},4763:(t,e,i)=>{"use strict";t.exports=i.p+"static/media/ort.bundle.min.ad35b202.mjs"},5122:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},5868:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},5964:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},5981:(t,e,i)=>{"use strict";t.exports=i.p+"static/media/ort-wasm-simd-threaded.jsep.03bc89f8.wasm"},6088:(t,e,i)=>{"use strict";i.d(e,{UC:()=>tl,B8:()=>tr,bL:()=>to,l9:()=>tp});var n,a=i(6636),o=i.t(a,2);function r(t,e,{checkForDefaultPrevented:i=!0}={}){return function(n){if(t?.(n),!1===i||!n.defaultPrevented)return e?.(n)}}var p=i(6384);function l(t,e=[]){let i=[],n=()=>{let e=i.map(t=>a.createContext(t));return function(i){let n=i?.[t]||e;return a.useMemo(()=>({[`__scope${t}`]:{...i,[t]:n}}),[i,n])}};return n.scopeName=t,[function(e,n){let o=a.createContext(n),r=i.length;i=[...i,n];let l=e=>{let{scope:i,children:n,...l}=e,c=i?.[t]?.[r]||o,s=a.useMemo(()=>l,Object.values(l));return(0,p.jsx)(c.Provider,{value:s,children:n})};return l.displayName=e+"Provider",[l,function(i,p){let l=p?.[t]?.[r]||o,c=a.useContext(l);if(c)return c;if(void 0!==n)return n;throw Error(`\`${i}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let i=()=>{let i=t.map(t=>({useScope:t(),scopeName:t.scopeName}));return function(t){let n=i.reduce((e,{useScope:i,scopeName:n})=>{let a=i(t)[`__scope${n}`];return{...e,...a}},{});return a.useMemo(()=>({[`__scope${e.scopeName}`]:n}),[n])}};return i.scopeName=e.scopeName,i}(n,...e)]}function c(t,e,i){if(!e.has(t))throw TypeError("attempted to "+i+" private field on non-instance");return e.get(t)}function s(t,e){var i=c(t,e,"get");return i.get?i.get.call(t):i.value}function d(t,e,i){var n=c(t,e,"set");if(n.set)n.set.call(t,i);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=i}return i}var u=i(7717),f=i(6568),m=new WeakMap;function v(t,e){if("at"in Array.prototype)return Array.prototype.at.call(t,e);let i=function(t,e){let i=t.length,n=h(e),a=n>=0?n:i+n;return a<0||a>=i?-1:a}(t,e);return -1===i?void 0:t[i]}function h(t){return t!=t||0===t?0:Math.trunc(t)}n=new WeakMap;var g=globalThis?.document?a.useLayoutEffect:()=>{},x=o[" useId ".trim().toString()]||(()=>void 0),y=0;function b(t){let[e,i]=a.useState(x());return g(()=>{t||i(t=>t??String(y++))},[t]),t||(e?`radix-${e}`:"")}i(9709);var w=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,e)=>{let i=(0,f.TL)(`Primitive.${e}`),n=a.forwardRef((t,n)=>{let{asChild:a,...o}=t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,p.jsx)(a?i:e,{...o,ref:n})});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{}),k=o[" useInsertionEffect ".trim().toString()]||g;function E({prop:t,defaultProp:e,onChange:i=()=>{},caller:n}){let[o,r,p]=function({defaultProp:t,onChange:e}){let[i,n]=a.useState(t),o=a.useRef(i),r=a.useRef(e);return k(()=>{r.current=e},[e]),a.useEffect(()=>{o.current!==i&&(r.current?.(i),o.current=i)},[i,o]),[i,n,r]}({defaultProp:e,onChange:i}),l=void 0!==t,c=l?t:o;{let e=a.useRef(void 0!==t);a.useEffect(()=>{let t=e.current;if(t!==l){let e=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=l},[l,n])}return[c,a.useCallback(e=>{if(l){let i="function"==typeof e?e(t):e;i!==t&&p.current?.(i)}else r(e)},[l,t,r,p])]}Symbol("RADIX:SYNC_STATE");var A=a.createContext(void 0);function j(t){let e=a.useContext(A);return t||e||"ltr"}var T="rovingFocusGroup.onEntryFocus",R={bubbles:!1,cancelable:!0},D="RovingFocusGroup",[C,z,O]=function(t){let e=t+"CollectionProvider",[i,n]=l(e),[o,r]=i(e,{collectionRef:{current:null},itemMap:new Map}),c=t=>{let{scope:e,children:i}=t,n=a.useRef(null),r=a.useRef(new Map).current;return(0,p.jsx)(o,{scope:e,itemMap:r,collectionRef:n,children:i})};c.displayName=e;let s=t+"CollectionSlot",d=(0,f.TL)(s),m=a.forwardRef((t,e)=>{let{scope:i,children:n}=t,a=r(s,i),o=(0,u.s)(e,a.collectionRef);return(0,p.jsx)(d,{ref:o,children:n})});m.displayName=s;let v=t+"CollectionItemSlot",h="data-radix-collection-item",g=(0,f.TL)(v),x=a.forwardRef((t,e)=>{let{scope:i,children:n,...o}=t,l=a.useRef(null),c=(0,u.s)(e,l),s=r(v,i);return a.useEffect(()=>(s.itemMap.set(l,{ref:l,...o}),()=>void s.itemMap.delete(l))),(0,p.jsx)(g,{...{[h]:""},ref:c,children:n})});return x.displayName=v,[{Provider:c,Slot:m,ItemSlot:x},function(e){let i=r(t+"CollectionConsumer",e);return a.useCallback(()=>{let t=i.collectionRef.current;if(!t)return[];let e=Array.from(t.querySelectorAll("[".concat(h,"]")));return Array.from(i.itemMap.values()).sort((t,i)=>e.indexOf(t.ref.current)-e.indexOf(i.ref.current))},[i.collectionRef,i.itemMap])},n]}(D),[S,I]=l(D,[O]),[B,P]=S(D),U=a.forwardRef((t,e)=>(0,p.jsx)(C.Provider,{scope:t.__scopeRovingFocusGroup,children:(0,p.jsx)(C.Slot,{scope:t.__scopeRovingFocusGroup,children:(0,p.jsx)(L,{...t,ref:e})})}));U.displayName=D;var L=a.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:i,orientation:n,loop:o=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:d,onEntryFocus:f,preventScrollOnEntryFocus:m=!1,...v}=t,h=a.useRef(null),g=(0,u.s)(e,h),x=j(l),[y,b]=E({prop:c,defaultProp:null!=s?s:null,onChange:d,caller:D}),[k,A]=a.useState(!1),C=function(t){let e=a.useRef(t);return a.useEffect(()=>{e.current=t}),a.useMemo(()=>(...t)=>e.current?.(...t),[])}(f),O=z(i),S=a.useRef(!1),[I,P]=a.useState(0);return a.useEffect(()=>{let t=h.current;if(t)return t.addEventListener(T,C),()=>t.removeEventListener(T,C)},[C]),(0,p.jsx)(B,{scope:i,orientation:n,dir:x,loop:o,currentTabStopId:y,onItemFocus:a.useCallback(t=>b(t),[b]),onItemShiftTab:a.useCallback(()=>A(!0),[]),onFocusableItemAdd:a.useCallback(()=>P(t=>t+1),[]),onFocusableItemRemove:a.useCallback(()=>P(t=>t-1),[]),children:(0,p.jsx)(w.div,{tabIndex:k||0===I?-1:0,"data-orientation":n,...v,ref:g,style:{outline:"none",...t.style},onMouseDown:r(t.onMouseDown,()=>{S.current=!0}),onFocus:r(t.onFocus,t=>{let e=!S.current;if(t.target===t.currentTarget&&e&&!k){let e=new CustomEvent(T,R);if(t.currentTarget.dispatchEvent(e),!e.defaultPrevented){let t=O().filter(t=>t.focusable);_([t.find(t=>t.active),t.find(t=>t.id===y),...t].filter(Boolean).map(t=>t.ref.current),m)}}S.current=!1}),onBlur:r(t.onBlur,()=>A(!1))})})}),M="RovingFocusGroupItem",F=a.forwardRef((t,e)=>{let{__scopeRovingFocusGroup:i,focusable:n=!0,active:o=!1,tabStopId:l,children:c,...s}=t,d=b(),u=l||d,f=P(M,i),m=f.currentTabStopId===u,v=z(i),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:x}=f;return a.useEffect(()=>{if(n)return h(),()=>g()},[n,h,g]),(0,p.jsx)(C.ItemSlot,{scope:i,id:u,focusable:n,active:o,children:(0,p.jsx)(w.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...s,ref:e,onMouseDown:r(t.onMouseDown,t=>{n?f.onItemFocus(u):t.preventDefault()}),onFocus:r(t.onFocus,()=>f.onItemFocus(u)),onKeyDown:r(t.onKeyDown,t=>{if("Tab"===t.key&&t.shiftKey)return void f.onItemShiftTab();if(t.target!==t.currentTarget)return;let e=function(t,e,i){var n;let a=(n=t.key,"rtl"!==i?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===e&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===e&&["ArrowUp","ArrowDown"].includes(a)))return N[a]}(t,f.orientation,f.dir);if(void 0!==e){if(t.metaKey||t.ctrlKey||t.altKey||t.shiftKey)return;t.preventDefault();let i=v().filter(t=>t.focusable).map(t=>t.ref.current);if("last"===e)i.reverse();else if("prev"===e||"next"===e){"prev"===e&&i.reverse();let n=i.indexOf(t.currentTarget);i=f.loop?function(t,e){return t.map((i,n)=>t[(e+n)%t.length])}(i,n+1):i.slice(n+1)}setTimeout(()=>_(i))}}),children:"function"==typeof c?c({isCurrentTabStop:m,hasTabStop:null!=x}):c})})});F.displayName=M;var N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.activeElement;for(let n of t)if(n===i||(n.focus({preventScroll:e}),document.activeElement!==i))return}var q=t=>{let{present:e,children:i}=t,n=function(t){var e,i;let[n,o]=a.useState(),r=a.useRef(null),p=a.useRef(t),l=a.useRef("none"),[c,s]=(e=t?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},a.useReducer((t,e)=>{let n=i[t][e];return null!=n?n:t},e));return a.useEffect(()=>{let t=$(r.current);l.current="mounted"===c?t:"none"},[c]),g(()=>{let e=r.current,i=p.current;if(i!==t){let n=l.current,a=$(e);t?s("MOUNT"):"none"===a||(null==e?void 0:e.display)==="none"?s("UNMOUNT"):i&&n!==a?s("ANIMATION_OUT"):s("UNMOUNT"),p.current=t}},[t,s]),g(()=>{if(n){var t;let e,i=null!=(t=n.ownerDocument.defaultView)?t:window,a=t=>{let a=$(r.current).includes(t.animationName);if(t.target===n&&a&&(s("ANIMATION_END"),!p.current)){let t=n.style.animationFillMode;n.style.animationFillMode="forwards",e=i.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=t)})}},o=t=>{t.target===n&&(l.current=$(r.current))};return n.addEventListener("animationstart",o),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{i.clearTimeout(e),n.removeEventListener("animationstart",o),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}s("ANIMATION_END")},[n,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:a.useCallback(t=>{r.current=t?getComputedStyle(t):null,o(t)},[])}}(e),o="function"==typeof i?i({present:n.isPresent}):a.Children.only(i),r=(0,u.s)(n.ref,function(t){var e,i;let n=null==(e=Object.getOwnPropertyDescriptor(t.props,"ref"))?void 0:e.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?t.ref:(a=(n=null==(i=Object.getOwnPropertyDescriptor(t,"ref"))?void 0:i.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref}(o));return"function"==typeof i||n.isPresent?a.cloneElement(o,{ref:r}):null};function $(t){return(null==t?void 0:t.animationName)||"none"}q.displayName="Presence";var G="Tabs",[W,H]=l(G,[I]),K=I(),[V,Y]=W(G),X=a.forwardRef((t,e)=>{let{__scopeTabs:i,value:n,onValueChange:a,defaultValue:o,orientation:r="horizontal",dir:l,activationMode:c="automatic",...s}=t,d=j(l),[u,f]=E({prop:n,onChange:a,defaultProp:null!=o?o:"",caller:G});return(0,p.jsx)(V,{scope:i,baseId:b(),value:u,onValueChange:f,orientation:r,dir:d,activationMode:c,children:(0,p.jsx)(w.div,{dir:d,"data-orientation":r,...s,ref:e})})});X.displayName=G;var J="TabsList",Z=a.forwardRef((t,e)=>{let{__scopeTabs:i,loop:n=!0,...a}=t,o=Y(J,i),r=K(i);return(0,p.jsx)(U,{asChild:!0,...r,orientation:o.orientation,dir:o.dir,loop:n,children:(0,p.jsx)(w.div,{role:"tablist","aria-orientation":o.orientation,...a,ref:e})})});Z.displayName=J;var Q="TabsTrigger",tt=a.forwardRef((t,e)=>{let{__scopeTabs:i,value:n,disabled:a=!1,...o}=t,l=Y(Q,i),c=K(i),s=tn(l.baseId,n),d=ta(l.baseId,n),u=n===l.value;return(0,p.jsx)(F,{asChild:!0,...c,focusable:!a,active:u,children:(0,p.jsx)(w.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":d,"data-state":u?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:s,...o,ref:e,onMouseDown:r(t.onMouseDown,t=>{a||0!==t.button||!1!==t.ctrlKey?t.preventDefault():l.onValueChange(n)}),onKeyDown:r(t.onKeyDown,t=>{[" ","Enter"].includes(t.key)&&l.onValueChange(n)}),onFocus:r(t.onFocus,()=>{let t="manual"!==l.activationMode;u||a||!t||l.onValueChange(n)})})})});tt.displayName=Q;var te="TabsContent",ti=a.forwardRef((t,e)=>{let{__scopeTabs:i,value:n,forceMount:o,children:r,...l}=t,c=Y(te,i),s=tn(c.baseId,n),d=ta(c.baseId,n),u=n===c.value,f=a.useRef(u);return a.useEffect(()=>{let t=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(t)},[]),(0,p.jsx)(q,{present:o||u,children:i=>{let{present:n}=i;return(0,p.jsx)(w.div,{"data-state":u?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":s,hidden:!n,id:d,tabIndex:0,...l,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:n&&r})}})});function tn(t,e){return"".concat(t,"-trigger-").concat(e)}function ta(t,e){return"".concat(t,"-content-").concat(e)}ti.displayName=te;var to=X,tr=Z,tp=tt,tl=ti},6286:(t,e,i)=>{"use strict";i.d(e,{VB:()=>Q});var n=i(6636),a=i(7157);function o(t,e,i,n){return new(i||(i=Promise))(function(a,o){function r(t){try{l(n.next(t))}catch(t){o(t)}}function p(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?a(t.value):((e=t.value)instanceof i?e:new i(function(t){t(e)})).then(r,p)}l((n=n.apply(t,e||[])).next())})}Object.create;Object.create,"function"==typeof SuppressedError&&SuppressedError;let r=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function p(t,e,i){let n=function(t){let{name:e}=t;if(e&&-1!==e.lastIndexOf(".")&&!t.type){let i=e.split(".").pop().toLowerCase(),n=r.get(i);n&&Object.defineProperty(t,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return t}(t),{webkitRelativePath:a}=t,o="string"==typeof e?e:"string"==typeof a&&a.length>0?a:`./${t.name}`;return"string"!=typeof n.path&&l(n,"path",o),void 0!==i&&Object.defineProperty(n,"handle",{value:i,writable:!1,configurable:!1,enumerable:!0}),l(n,"relativePath",o),n}function l(t,e,i){Object.defineProperty(t,e,{value:i,writable:!1,configurable:!1,enumerable:!0})}let c=[".DS_Store","Thumbs.db"];function s(t){return"object"==typeof t&&null!==t}function d(t){return t.filter(t=>-1===c.indexOf(t.name))}function u(t){if(null===t)return[];let e=[];for(let i=0;i<t.length;i++){let n=t[i];e.push(n)}return e}function f(t){if("function"!=typeof t.webkitGetAsEntry)return m(t);let e=t.webkitGetAsEntry();return e&&e.isDirectory?h(e):m(t,e)}function m(t,e){return o(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&"function"==typeof t.getAsFileSystemHandle){let e=yield t.getAsFileSystemHandle();if(null===e)throw Error(`${t} is not a File`);if(void 0!==e){let t=yield e.getFile();return t.handle=e,p(t)}}let n=t.getAsFile();if(!n)throw Error(`${t} is not a File`);return p(n,null!=(i=null==e?void 0:e.fullPath)?i:void 0)})}function v(t){return o(this,void 0,void 0,function*(){return t.isDirectory?h(t):function(t){return o(this,void 0,void 0,function*(){return new Promise((e,i)=>{t.file(i=>{e(p(i,t.fullPath))},t=>{i(t)})})})}(t)})}function h(t){let e=t.createReader();return new Promise((t,i)=>{let n=[];!function a(){e.readEntries(e=>o(this,void 0,void 0,function*(){if(e.length){let t=Promise.all(e.map(v));n.push(t),a()}else try{let e=yield Promise.all(n);t(e)}catch(t){i(t)}}),t=>{i(t)})}()})}var g=i(1895);function x(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||E(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function b(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?y(Object(i),!0).forEach(function(e){w(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):y(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function w(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function k(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i,n,a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var o=[],r=!0,p=!1;try{for(a=a.call(t);!(r=(i=a.next()).done)&&(o.push(i.value),!e||o.length!==e);r=!0);}catch(t){p=!0,n=t}finally{try{r||null==a.return||a.return()}finally{if(p)throw n}}return o}}(t,e)||E(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(t,e){if(t){if("string"==typeof t)return A(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return A(t,e)}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var j="function"==typeof g?g:g.default,T=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t.split(","),i=e.length>1?"one of ".concat(e.join(", ")):e[0];return{code:"file-invalid-type",message:"File type must be ".concat(i)}},R=function(t){return{code:"file-too-large",message:"File is larger than ".concat(t," ").concat(1===t?"byte":"bytes")}},D=function(t){return{code:"file-too-small",message:"File is smaller than ".concat(t," ").concat(1===t?"byte":"bytes")}},C={code:"too-many-files",message:"Too many files"};function z(t,e){var i="application/x-moz-file"===t.type||j(t,e);return[i,i?null:T(e)]}function O(t,e,i){if(S(t.size)){if(S(e)&&S(i)){if(t.size>i)return[!1,R(i)];if(t.size<e)return[!1,D(e)]}else if(S(e)&&t.size<e)return[!1,D(e)];else if(S(i)&&t.size>i)return[!1,R(i)]}return[!0,null]}function S(t){return null!=t}function I(t){return"function"==typeof t.isPropagationStopped?t.isPropagationStopped():void 0!==t.cancelBubble&&t.cancelBubble}function B(t){return t.dataTransfer?Array.prototype.some.call(t.dataTransfer.types,function(t){return"Files"===t||"application/x-moz-file"===t}):!!t.target&&!!t.target.files}function P(t){t.preventDefault()}function U(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){for(var i=arguments.length,n=Array(i>1?i-1:0),a=1;a<i;a++)n[a-1]=arguments[a];return e.some(function(e){return!I(t)&&e&&e.apply(void 0,[t].concat(n)),I(t)})}}function L(t){return"audio/*"===t||"video/*"===t||"image/*"===t||"text/*"===t||"application/*"===t||/\w+\/[-+.\w]+/g.test(t)}function M(t){return/^.*\.[\w]+$/.test(t)}var F=["children"],N=["open"],_=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],q=["refKey","onChange","onClick"];function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i,n,a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var o=[],r=!0,p=!1;try{for(a=a.call(t);!(r=(i=a.next()).done)&&(o.push(i.value),!e||o.length!==e);r=!0);}catch(t){p=!0,n=t}finally{try{r||null==a.return||a.return()}finally{if(p)throw n}}return o}}(t,e)||G(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(t,e){if(t){if("string"==typeof t)return W(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if("Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return W(t,e)}}function W(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function H(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function K(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?H(Object(i),!0).forEach(function(e){V(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):H(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function V(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Y(t,e){if(null==t)return{};var i,n,a=function(t,e){if(null==t)return{};var i,n,a={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(a[i]=t[i]);return a}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)i=o[n],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(t,i)&&(a[i]=t[i])}return a}var X=(0,n.forwardRef)(function(t,e){var i=t.children,a=Q(Y(t,F)),o=a.open,r=Y(a,N);return(0,n.useImperativeHandle)(e,function(){return{open:o}},[o]),n.createElement(n.Fragment,null,i(K(K({},r),{},{open:o})))});X.displayName="Dropzone";var J={disabled:!1,getFilesFromEvent:function(t){return o(this,void 0,void 0,function*(){var e;if(s(t)&&s(t.dataTransfer))return function(t,e){return o(this,void 0,void 0,function*(){if(t.items){let i=u(t.items).filter(t=>"file"===t.kind);return"drop"!==e?i:d(function t(e){return e.reduce((e,i)=>[...e,...Array.isArray(i)?t(i):[i]],[])}((yield Promise.all(i.map(f)))))}return d(u(t.files).map(t=>p(t)))})}(t.dataTransfer,t.type);if(s(e=t)&&s(e.target))return u(t.target.files).map(t=>p(t));return Array.isArray(t)&&t.every(t=>"getFile"in t&&"function"==typeof t.getFile)?function(t){return o(this,void 0,void 0,function*(){return(yield Promise.all(t.map(t=>t.getFile()))).map(t=>p(t))})}(t):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};X.defaultProps=J,X.propTypes={children:a.func,accept:a.objectOf(a.arrayOf(a.string)),multiple:a.bool,preventDropOnDocument:a.bool,noClick:a.bool,noKeyboard:a.bool,noDrag:a.bool,noDragEventsBubbling:a.bool,minSize:a.number,maxSize:a.number,maxFiles:a.number,disabled:a.bool,getFilesFromEvent:a.func,onFileDialogCancel:a.func,onFileDialogOpen:a.func,useFsAccessApi:a.bool,autoFocus:a.bool,onDragEnter:a.func,onDragLeave:a.func,onDragOver:a.func,onDrop:a.func,onDropAccepted:a.func,onDropRejected:a.func,onError:a.func,validator:a.func};var Z={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Q(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=K(K({},J),t),i=e.accept,a=e.disabled,o=e.getFilesFromEvent,r=e.maxSize,p=e.minSize,l=e.multiple,c=e.maxFiles,s=e.onDragEnter,d=e.onDragLeave,u=e.onDragOver,f=e.onDrop,m=e.onDropAccepted,v=e.onDropRejected,h=e.onFileDialogCancel,g=e.onFileDialogOpen,y=e.useFsAccessApi,E=e.autoFocus,A=e.preventDropOnDocument,j=e.noClick,T=e.noKeyboard,R=e.noDrag,D=e.noDragEventsBubbling,F=e.onError,N=e.validator,H=(0,n.useMemo)(function(){return S(i)?Object.entries(i).reduce(function(t,e){var i=k(e,2),n=i[0],a=i[1];return[].concat(x(t),[n],x(a))},[]).filter(function(t){return L(t)||M(t)}).join(","):void 0},[i]),X=(0,n.useMemo)(function(){return S(i)?[{description:"Files",accept:Object.entries(i).filter(function(t){var e=k(t,2),i=e[0],n=e[1],a=!0;return L(i)||(console.warn('Skipped "'.concat(i,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),Array.isArray(n)&&n.every(M)||(console.warn('Skipped "'.concat(i,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(t,e){var i=k(e,2),n=i[0],a=i[1];return b(b({},t),{},w({},n,a))},{})}]:i},[i]),Q=(0,n.useMemo)(function(){return"function"==typeof g?g:te},[g]),ti=(0,n.useMemo)(function(){return"function"==typeof h?h:te},[h]),tn=(0,n.useRef)(null),ta=(0,n.useRef)(null),to=$((0,n.useReducer)(tt,Z),2),tr=to[0],tp=to[1],tl=tr.isFocused,tc=tr.isFileDialogActive,ts=(0,n.useRef)("undefined"!=typeof window&&window.isSecureContext&&y&&"showOpenFilePicker"in window),td=function(){!ts.current&&tc&&setTimeout(function(){ta.current&&(ta.current.files.length||(tp({type:"closeDialog"}),ti()))},300)};(0,n.useEffect)(function(){return window.addEventListener("focus",td,!1),function(){window.removeEventListener("focus",td,!1)}},[ta,tc,ti,ts]);var tu=(0,n.useRef)([]),tf=function(t){tn.current&&tn.current.contains(t.target)||(t.preventDefault(),tu.current=[])};(0,n.useEffect)(function(){return A&&(document.addEventListener("dragover",P,!1),document.addEventListener("drop",tf,!1)),function(){A&&(document.removeEventListener("dragover",P),document.removeEventListener("drop",tf))}},[tn,A]),(0,n.useEffect)(function(){return!a&&E&&tn.current&&tn.current.focus(),function(){}},[tn,E,a]);var tm=(0,n.useCallback)(function(t){F?F(t):console.error(t)},[F]),tv=(0,n.useCallback)(function(t){var e;t.preventDefault(),t.persist(),tD(t),tu.current=[].concat(function(t){if(Array.isArray(t))return W(t)}(e=tu.current)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||G(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[t.target]),B(t)&&Promise.resolve(o(t)).then(function(e){if(!I(t)||D){var i,n,a,o,d,u,f,m,v=e.length,h=v>0&&(n=(i={files:e,accept:H,minSize:p,maxSize:r,multiple:l,maxFiles:c,validator:N}).files,a=i.accept,o=i.minSize,d=i.maxSize,u=i.multiple,f=i.maxFiles,m=i.validator,(!!u||!(n.length>1))&&(!u||!(f>=1)||!(n.length>f))&&n.every(function(t){var e=k(z(t,a),1)[0],i=k(O(t,o,d),1)[0],n=m?m(t):null;return e&&i&&!n}));tp({isDragAccept:h,isDragReject:v>0&&!h,isDragActive:!0,type:"setDraggedFiles"}),s&&s(t)}}).catch(function(t){return tm(t)})},[o,s,tm,D,H,p,r,l,c,N]),th=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),tD(t);var e=B(t);if(e&&t.dataTransfer)try{t.dataTransfer.dropEffect="copy"}catch(t){}return e&&u&&u(t),!1},[u,D]),tg=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),tD(t);var e=tu.current.filter(function(t){return tn.current&&tn.current.contains(t)}),i=e.indexOf(t.target);-1!==i&&e.splice(i,1),tu.current=e,!(e.length>0)&&(tp({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),B(t)&&d&&d(t))},[tn,d,D]),tx=(0,n.useCallback)(function(t,e){var i=[],n=[];t.forEach(function(t){var e=$(z(t,H),2),a=e[0],o=e[1],l=$(O(t,p,r),2),c=l[0],s=l[1],d=N?N(t):null;if(a&&c&&!d)i.push(t);else{var u=[o,s];d&&(u=u.concat(d)),n.push({file:t,errors:u.filter(function(t){return t})})}}),(!l&&i.length>1||l&&c>=1&&i.length>c)&&(i.forEach(function(t){n.push({file:t,errors:[C]})}),i.splice(0)),tp({acceptedFiles:i,fileRejections:n,isDragReject:n.length>0,type:"setFiles"}),f&&f(i,n,e),n.length>0&&v&&v(n,e),i.length>0&&m&&m(i,e)},[tp,l,H,p,r,c,f,m,v,N]),ty=(0,n.useCallback)(function(t){t.preventDefault(),t.persist(),tD(t),tu.current=[],B(t)&&Promise.resolve(o(t)).then(function(e){(!I(t)||D)&&tx(e,t)}).catch(function(t){return tm(t)}),tp({type:"reset"})},[o,tx,tm,D]),tb=(0,n.useCallback)(function(){if(ts.current){tp({type:"openDialog"}),Q(),window.showOpenFilePicker({multiple:l,types:X}).then(function(t){return o(t)}).then(function(t){tx(t,null),tp({type:"closeDialog"})}).catch(function(t){t instanceof DOMException&&("AbortError"===t.name||t.code===t.ABORT_ERR)?(ti(t),tp({type:"closeDialog"})):t instanceof DOMException&&("SecurityError"===t.name||t.code===t.SECURITY_ERR)?(ts.current=!1,ta.current?(ta.current.value=null,ta.current.click()):tm(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):tm(t)});return}ta.current&&(tp({type:"openDialog"}),Q(),ta.current.value=null,ta.current.click())},[tp,Q,ti,y,tx,tm,X,l]),tw=(0,n.useCallback)(function(t){tn.current&&tn.current.isEqualNode(t.target)&&(" "===t.key||"Enter"===t.key||32===t.keyCode||13===t.keyCode)&&(t.preventDefault(),tb())},[tn,tb]),tk=(0,n.useCallback)(function(){tp({type:"focus"})},[]),tE=(0,n.useCallback)(function(){tp({type:"blur"})},[]),tA=(0,n.useCallback)(function(){j||(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return -1!==t.indexOf("MSIE")||-1!==t.indexOf("Trident/")||-1!==t.indexOf("Edge/")}()?setTimeout(tb,0):tb())},[j,tb]),tj=function(t){return a?null:t},tT=function(t){return T?null:tj(t)},tR=function(t){return R?null:tj(t)},tD=function(t){D&&t.stopPropagation()},tC=(0,n.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,i=t.role,n=t.onKeyDown,o=t.onFocus,r=t.onBlur,p=t.onClick,l=t.onDragEnter,c=t.onDragOver,s=t.onDragLeave,d=t.onDrop,u=Y(t,_);return K(K(V({onKeyDown:tT(U(n,tw)),onFocus:tT(U(o,tk)),onBlur:tT(U(r,tE)),onClick:tj(U(p,tA)),onDragEnter:tR(U(l,tv)),onDragOver:tR(U(c,th)),onDragLeave:tR(U(s,tg)),onDrop:tR(U(d,ty)),role:"string"==typeof i&&""!==i?i:"presentation"},void 0===e?"ref":e,tn),a||T?{}:{tabIndex:0}),u)}},[tn,tw,tk,tE,tA,tv,th,tg,ty,T,R,a]),tz=(0,n.useCallback)(function(t){t.stopPropagation()},[]),tO=(0,n.useMemo)(function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.refKey,i=t.onChange,n=t.onClick,a=Y(t,q);return K(K({},V({accept:H,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:tj(U(i,ty)),onClick:tj(U(n,tz)),tabIndex:-1},void 0===e?"ref":e,ta)),a)}},[ta,i,l,ty,a]);return K(K({},tr),{},{isFocused:tl&&!a,getRootProps:tC,getInputProps:tO,rootRef:tn,inputRef:ta,open:tj(tb)})}function tt(t,e){switch(e.type){case"focus":return K(K({},t),{},{isFocused:!0});case"blur":return K(K({},t),{},{isFocused:!1});case"openDialog":return K(K({},Z),{},{isFileDialogActive:!0});case"closeDialog":return K(K({},t),{},{isFileDialogActive:!1});case"setDraggedFiles":return K(K({},t),{},{isDragActive:e.isDragActive,isDragAccept:e.isDragAccept,isDragReject:e.isDragReject});case"setFiles":return K(K({},t),{},{acceptedFiles:e.acceptedFiles,fileRejections:e.fileRejections,isDragReject:e.isDragReject});case"reset":return K({},Z);default:return t}}function te(){}},7107:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},7157:(t,e,i)=>{t.exports=i(8031)()},7255:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("waves",[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]])},7625:(t,e,i)=>{"use strict";i.d(e,{D4:()=>y,EW:()=>x});var n=i(6636),a=i(6384),o=(0,n.forwardRef)((t,e)=>{let{transition:i,...n}=t;return(0,a.jsx)("div",{...n,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",transition:i?"clip-path ".concat(i):void 0,userSelect:"none",willChange:"clip-path, transition",KhtmlUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none"},"data-rcs":"clip-item",ref:e})});o.displayName="ContainerClip";var r=(0,n.forwardRef)((t,e)=>{let{children:i,disabled:n,portrait:o,position:r,transition:p}=t,l={position:"absolute",top:0,width:o?"100%":void 0,height:o?void 0:"100%",background:"none",border:0,padding:0,pointerEvents:"all",appearance:"none",WebkitAppearance:"none",MozAppearance:"none",outline:0,transform:o?"translate3d(0, -50% ,0)":"translate3d(-50%, 0, 0)",transition:p?"".concat(o?"top":"left"," ").concat(p):void 0};return(0,a.jsx)("button",{ref:e,"aria-label":"Drag to move or focus and use arrow keys","aria-orientation":o?"vertical":"horizontal","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r,"data-rcs":"handle-container",disabled:n,role:"slider",style:l,children:i})});r.displayName="ThisHandleContainer";var p=t=>{let{flip:e}=t;return(0,a.jsx)("div",{className:"__rcs-handle-arrow",style:{width:0,height:0,borderTop:"8px solid transparent",borderRight:"10px solid",borderBottom:"8px solid transparent",transform:e?"rotate(180deg)":void 0}})},l=t=>{let{className:e="__rcs-handle-root",disabled:i,buttonStyle:n,linesStyle:o,portrait:r,style:l,...c}=t,s={display:"flex",flexDirection:r?"row":"column",placeItems:"center",height:"100%",cursor:i?"not-allowed":r?"ns-resize":"ew-resize",pointerEvents:"none",color:"#fff",...l},d={flexGrow:1,height:r?2:"100%",width:r?"100%":2,backgroundColor:"currentColor",pointerEvents:"auto",boxShadow:"0 0 4px rgba(0,0,0,.5)",...o},u={display:"grid",gridAutoFlow:"column",gap:8,placeContent:"center",flexShrink:0,width:56,height:56,borderRadius:"50%",borderStyle:"solid",borderWidth:2,pointerEvents:"auto",backdropFilter:"blur(7px)",WebkitBackdropFilter:"blur(7px)",backgroundColor:"rgba(0, 0, 0, 0.125)",boxShadow:"0 0 4px rgba(0,0,0,.35)",transform:r?"rotate(90deg)":void 0,...n};return(0,a.jsxs)("div",{...c,className:e,style:s,children:[(0,a.jsx)("div",{className:"__rcs-handle-line",style:d}),(0,a.jsxs)("div",{className:"__rcs-handle-button",style:u,children:[(0,a.jsx)(p,{}),(0,a.jsx)(p,{flip:!0})]}),(0,a.jsx)("div",{className:"__rcs-handle-line",style:d})]})},c=(t=>(t.ARROW_LEFT="ArrowLeft",t.ARROW_RIGHT="ArrowRight",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t))(c||{}),s=function(){let{boxSizing:t="border-box",objectFit:e="cover",objectPosition:i="center center",...n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{display:"block",width:"100%",height:"100%",maxWidth:"100%",boxSizing:t,objectFit:e,objectPosition:i,...n}},d=t=>{let e=(0,n.useRef)(t);return(0,n.useEffect)(()=>{e.current=t}),e.current},u=(t,e,i,a)=>{let o=(0,n.useRef)();(0,n.useEffect)(()=>{o.current=e},[e]),(0,n.useEffect)(()=>{if(!(i&&i.addEventListener))return;let e=t=>o.current&&o.current(t);return i.addEventListener(t,e,a),()=>{i.removeEventListener(t,e,a)}},[t,i,a])},f="u">typeof window&&"u">typeof window.document&&"u">typeof window.document.createElement?n.useLayoutEffect:n.useEffect,m=(t,e)=>{let i=(0,n.useRef)(),a=(0,n.useCallback)(()=>{t.current&&i.current&&i.current.observe(t.current)},[t]);f(()=>(i.current=new ResizeObserver(t=>{let[i]=t;return e(i.contentRect)}),a(),()=>{i.current&&i.current.disconnect()}),[e,a])},v={capture:!1,passive:!0},h={capture:!0,passive:!1},g=t=>{t.preventDefault(),t.currentTarget.focus()},x=(0,n.forwardRef)((t,e)=>{let{boundsPadding:i=0,browsingContext:p=globalThis,changePositionOnHover:s=!1,disabled:f=!1,handle:x,itemOne:y,itemTwo:b,keyboardIncrement:w="5%",onlyHandleDraggable:k=!1,onPositionChange:E,portrait:A=!1,position:j=50,style:T,transition:R,...D}=t,C=(0,n.useRef)(null),z=(0,n.useRef)(null),O=(0,n.useRef)(null),S=(0,n.useRef)(j),[I,B]=(0,n.useState)(!1),[P,U]=(0,n.useState)(!0),L=(0,n.useRef)(!1),[M,F]=(0,n.useState)(),N=d(j),_=(0,n.useCallback)(function(t){let{x:e,y:n,isOffset:a}=t,o=C.current,r=O.current,l=z.current,{width:c,height:s,left:d,top:u}=o.getBoundingClientRect();if(0===c||0===s)return;let f=Math.min(Math.max((A?a?n-u-p.scrollY:n:a?e-d-p.scrollX:e)/(A?s:c)*100,0),100),m=A?s/(o.offsetHeight||1):c/(o.offsetWidth||1),v=i*m/(A?s:c)*100,h=Math.min(Math.max(f,v*m),100-v*m);S.current=f,r.setAttribute("aria-valuenow","".concat(Math.round(S.current))),r.style.top=A?"".concat(h,"%"):"0",r.style.left=A?"0":"".concat(h,"%"),l.style.clipPath=A?"inset(".concat(h,"% 0 0 0)"):"inset(0 0 0 ".concat(h,"%)"),E&&E(S.current)},[i,E,A,p]);(0,n.useEffect)(()=>{let{width:t,height:e}=C.current.getBoundingClientRect(),i=j===N?S.current:j;_({x:t/100*i,y:e/100*i})},[i,j,A,N,_]);let q=(0,n.useCallback)(t=>{t.preventDefault(),f||0!==t.button||(_({isOffset:!0,x:t.pageX,y:t.pageY}),B(!0),U(!0))},[f,_]),$=(0,n.useCallback)(function(t){_({isOffset:!0,x:t.pageX,y:t.pageY}),U(!1)},[_]),G=(0,n.useCallback)(()=>{B(!1),U(!0)},[]),W=(0,n.useCallback)(t=>{let{width:e,height:i}=t,{width:n,height:a}=C.current.getBoundingClientRect();_({x:e/100*S.current*n/e,y:i/100*S.current*a/i})},[_]),H=(0,n.useCallback)(t=>{if(!Object.values(c).includes(t.key))return;t.preventDefault(),U(!0);let{top:e,left:i}=O.current.getBoundingClientRect(),{width:n,height:a}=C.current.getBoundingClientRect(),o="string"==typeof w?parseFloat(w):w/n*100,r=Math.min(Math.max((A?"ArrowLeft"===t.key||"ArrowDown"===t.key:"ArrowRight"===t.key||"ArrowUp"===t.key)?S.current+o:S.current-o,0),100);_({x:A?i:n*r/100,y:A?a*r/100:e})},[w,A,_]);(0,n.useEffect)(()=>{F(k?O.current:C.current)},[k]),(0,n.useEffect)(()=>{let t=C.current,e=()=>{I||G()};return s&&(t.addEventListener("pointermove",$,v),t.addEventListener("pointerleave",e,v)),()=>{t.removeEventListener("pointermove",$),t.removeEventListener("pointerleave",e)}},[s,$,G,I]),(0,n.useEffect)(()=>(I&&!L.current&&(p.addEventListener("pointermove",$,v),p.addEventListener("pointerup",G,v),L.current=!0),()=>{L.current&&(p.removeEventListener("pointermove",$),p.removeEventListener("pointerup",G),L.current=!1)}),[$,G,I,p]),(0,n.useImperativeHandle)(e,()=>({rootContainer:C.current,handleContainer:O.current,setPosition(t){let{width:e,height:i}=C.current.getBoundingClientRect();_({x:e/100*t,y:i/100*t})}}),[_]),m(C,W),u("keydown",H,O.current,h),u("click",g,O.current,h),u("pointerdown",q,M,h);let K=x||(0,a.jsx)(l,{disabled:f,portrait:A}),V=P?R:void 0,Y={position:"relative",display:"flex",overflow:"hidden",cursor:I?A?"ns-resize":"ew-resize":void 0,touchAction:"none",userSelect:"none",KhtmlUserSelect:"none",msUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",...T};return(0,a.jsxs)("div",{...D,ref:C,style:Y,"data-rcs":"root",children:[y,(0,a.jsx)(o,{ref:z,transition:V,children:b}),(0,a.jsx)(r,{disabled:f,portrait:A,position:Math.round(S.current),ref:O,transition:V,children:K})]})});x.displayName="ReactCompareSlider";var y=(0,n.forwardRef)((t,e)=>{let{style:i,...n}=t,o=s(i);return(0,a.jsx)("img",{ref:e,...n,style:o,"data-rcs":"image"})});y.displayName="ReactCompareSliderImage"},8031:(t,e,i)=>{"use strict";var n=i(3164);function a(){}function o(){}o.resetWarningCache=a,t.exports=function(){function t(t,e,i,a,o,r){if(r!==n){var p=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 p.name="Invariant Violation",p}}function e(){return t}t.isRequired=t;var i={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:a};return i.PropTypes=i,i}},8104:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},8378:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),i=e[0],n=e[1];return(i+n)*3/4-n},e.toByteArray=function(t){var e,i,o=l(t),r=o[0],p=o[1],c=new a((r+p)*3/4-p),s=0,d=p>0?r-4:r;for(i=0;i<d;i+=4)e=n[t.charCodeAt(i)]<<18|n[t.charCodeAt(i+1)]<<12|n[t.charCodeAt(i+2)]<<6|n[t.charCodeAt(i+3)],c[s++]=e>>16&255,c[s++]=e>>8&255,c[s++]=255&e;return 2===p&&(e=n[t.charCodeAt(i)]<<2|n[t.charCodeAt(i+1)]>>4,c[s++]=255&e),1===p&&(e=n[t.charCodeAt(i)]<<10|n[t.charCodeAt(i+1)]<<4|n[t.charCodeAt(i+2)]>>2,c[s++]=e>>8&255,c[s++]=255&e),c},e.fromByteArray=function(t){for(var e,n=t.length,a=n%3,o=[],r=0,p=n-a;r<p;r+=16383)o.push(function(t,e,n){for(var a,o=[],r=e;r<n;r+=3)a=(t[r]<<16&0xff0000)+(t[r+1]<<8&65280)+(255&t[r+2]),o.push(i[a>>18&63]+i[a>>12&63]+i[a>>6&63]+i[63&a]);return o.join("")}(t,r,r+16383>p?p:r+16383));return 1===a?o.push(i[(e=t[n-1])>>2]+i[e<<4&63]+"=="):2===a&&o.push(i[(e=(t[n-2]<<8)+t[n-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),o.join("")};for(var i=[],n=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,p=o.length;r<p;++r)i[r]=o[r],n[o.charCodeAt(r)]=r;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=e);var n=i===e?0:4-i%4;return[i,n]}n[45]=62,n[95]=63},72:function(t,e,i){"use strict";var n=i(675),a=i(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function r(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,p.prototype),e}function p(t,e,i){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return s(t)}return l(t,e,i)}function l(t,e,i){if("string"==typeof t){var n=t,a=e;if(("string"!=typeof a||""===a)&&(a="utf8"),!p.isEncoding(a))throw TypeError("Unknown encoding: "+a);var o=0|f(n,a),l=r(o),c=l.write(n,a);return c!==o&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(t))return d(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(C(t,ArrayBuffer)||t&&C(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(C(t,SharedArrayBuffer)||t&&C(t.buffer,SharedArrayBuffer)))return function(t,e,i){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,e):new Uint8Array(t,e,i),p.prototype),n}(t,e,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var s=t.valueOf&&t.valueOf();if(null!=s&&s!==t)return p.from(s,e,i);var m=function(t){if(p.isBuffer(t)){var e=0|u(t.length),i=r(e);return 0===i.length||t.copy(i,0,0,e),i}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?r(0):d(t):"Buffer"===t.type&&Array.isArray(t.data)?d(t.data):void 0}(t);if(m)return m;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return p.from(t[Symbol.toPrimitive]("string"),e,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function c(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function s(t){return c(t),r(t<0?0:0|u(t))}function d(t){for(var e=t.length<0?0:0|u(t.length),i=r(e),n=0;n<e;n+=1)i[n]=255&t[n];return i}e.Buffer=p,e.SlowBuffer=function(t){return+t!=t&&(t=0),p.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,p.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),p.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(t,e,i){return l(t,e,i)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(t,e,i){return(c(t),t<=0)?r(t):void 0!==e?"string"==typeof i?r(t).fill(e,i):r(t).fill(e):r(t)},p.allocUnsafe=function(t){return s(t)},p.allocUnsafeSlow=function(t){return s(t)};function u(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function f(t,e){if(p.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||C(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;for(var a=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return R(t).length;default:if(a)return n?-1:j(t).length;e=(""+e).toLowerCase(),a=!0}}function m(t,e,i){var a,o,r,p=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,i){var n=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>n)&&(i=n);for(var a="",o=e;o<i;++o)a+=z[t[o]];return a}(this,e,i);case"utf8":case"utf-8":return x(this,e,i);case"ascii":return function(t,e,i){var n="";i=Math.min(t.length,i);for(var a=e;a<i;++a)n+=String.fromCharCode(127&t[a]);return n}(this,e,i);case"latin1":case"binary":return function(t,e,i){var n="";i=Math.min(t.length,i);for(var a=e;a<i;++a)n+=String.fromCharCode(t[a]);return n}(this,e,i);case"base64":return a=this,o=e,r=i,0===o&&r===a.length?n.fromByteArray(a):n.fromByteArray(a.slice(o,r));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,i){for(var n=t.slice(e,i),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}(this,e,i);default:if(p)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),p=!0}}function v(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function h(t,e,i,n,a){var o;if(0===t.length)return -1;if("string"==typeof i?(n=i,i=0):i>0x7fffffff?i=0x7fffffff:i<-0x80000000&&(i=-0x80000000),(o=i*=1)!=o&&(i=a?0:t.length-1),i<0&&(i=t.length+i),i>=t.length)if(a)return -1;else i=t.length-1;else if(i<0)if(!a)return -1;else i=0;if("string"==typeof e&&(e=p.from(e,n)),p.isBuffer(e))return 0===e.length?-1:g(t,e,i,n,a);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(a)return Uint8Array.prototype.indexOf.call(t,e,i);else return Uint8Array.prototype.lastIndexOf.call(t,e,i);return g(t,[e],i,n,a)}throw TypeError("val must be string, number or Buffer")}function g(t,e,i,n,a){var o,r=1,p=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;r=2,p/=2,l/=2,i/=2}function c(t,e){return 1===r?t[e]:t.readUInt16BE(e*r)}if(a){var s=-1;for(o=i;o<p;o++)if(c(t,o)===c(e,-1===s?0:o-s)){if(-1===s&&(s=o),o-s+1===l)return s*r}else -1!==s&&(o-=o-s),s=-1}else for(i+l>p&&(i=p-l),o=i;o>=0;o--){for(var d=!0,u=0;u<l;u++)if(c(t,o+u)!==c(e,u)){d=!1;break}if(d)return o}return -1}p.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==p.prototype},p.compare=function(t,e){if(C(t,Uint8Array)&&(t=p.from(t,t.offset,t.byteLength)),C(e,Uint8Array)&&(e=p.from(e,e.offset,e.byteLength)),!p.isBuffer(t)||!p.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var i=t.length,n=e.length,a=0,o=Math.min(i,n);a<o;++a)if(t[a]!==e[a]){i=t[a],n=e[a];break}return i<n?-1:+(n<i)},p.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return p.alloc(0);if(void 0===e)for(i=0,e=0;i<t.length;++i)e+=t[i].length;var i,n=p.allocUnsafe(e),a=0;for(i=0;i<t.length;++i){var o=t[i];if(C(o,Uint8Array)&&(o=p.from(o)),!p.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n},p.byteLength=f,p.prototype._isBuffer=!0,p.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},p.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},p.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},p.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?x(this,0,t):m.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(t){if(!p.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===p.compare(this,t)},p.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},o&&(p.prototype[o]=p.prototype.inspect),p.prototype.compare=function(t,e,i,n,a){if(C(t,Uint8Array)&&(t=p.from(t,t.offset,t.byteLength)),!p.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),e<0||i>t.length||n<0||a>this.length)throw RangeError("out of range index");if(n>=a&&e>=i)return 0;if(n>=a)return -1;if(e>=i)return 1;if(e>>>=0,i>>>=0,n>>>=0,a>>>=0,this===t)return 0;for(var o=a-n,r=i-e,l=Math.min(o,r),c=this.slice(n,a),s=t.slice(e,i),d=0;d<l;++d)if(c[d]!==s[d]){o=c[d],r=s[d];break}return o<r?-1:+(r<o)},p.prototype.includes=function(t,e,i){return -1!==this.indexOf(t,e,i)},p.prototype.indexOf=function(t,e,i){return h(this,t,e,i,!0)},p.prototype.lastIndexOf=function(t,e,i){return h(this,t,e,i,!1)};function x(t,e,i){i=Math.min(t.length,i);for(var n=[],a=e;a<i;){var o,r,p,l,c=t[a],s=null,d=c>239?4:c>223?3:c>191?2:1;if(a+d<=i)switch(d){case 1:c<128&&(s=c);break;case 2:(192&(o=t[a+1]))==128&&(l=(31&c)<<6|63&o)>127&&(s=l);break;case 3:o=t[a+1],r=t[a+2],(192&o)==128&&(192&r)==128&&(l=(15&c)<<12|(63&o)<<6|63&r)>2047&&(l<55296||l>57343)&&(s=l);break;case 4:o=t[a+1],r=t[a+2],p=t[a+3],(192&o)==128&&(192&r)==128&&(192&p)==128&&(l=(15&c)<<18|(63&o)<<12|(63&r)<<6|63&p)>65535&&l<1114112&&(s=l)}null===s?(s=65533,d=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),a+=d}var u=n,f=u.length;if(f<=4096)return String.fromCharCode.apply(String,u);for(var m="",v=0;v<f;)m+=String.fromCharCode.apply(String,u.slice(v,v+=4096));return m}function y(t,e,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>i)throw RangeError("Trying to access beyond buffer length")}function b(t,e,i,n,a,o){if(!p.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<o)throw RangeError('"value" argument is out of bounds');if(i+n>t.length)throw RangeError("Index out of range")}function w(t,e,i,n,a,o){if(i+n>t.length||i<0)throw RangeError("Index out of range")}function k(t,e,i,n,o){return e*=1,i>>>=0,o||w(t,e,i,4,34028234663852886e22,-34028234663852886e22),a.write(t,e,i,n,23,4),i+4}function E(t,e,i,n,o){return e*=1,i>>>=0,o||w(t,e,i,8,17976931348623157e292,-17976931348623157e292),a.write(t,e,i,n,52,8),i+8}p.prototype.write=function(t,e,i,n){if(void 0===e)n="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)n=e,i=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a,o,r,p,l,c,s,d,u=this.length-e;if((void 0===i||i>u)&&(i=u),t.length>0&&(i<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return function(t,e,i,n){i=Number(i)||0;var a=t.length-i;n?(n=Number(n))>a&&(n=a):n=a;var o=e.length;n>o/2&&(n=o/2);for(var r=0;r<n;++r){var p,l=parseInt(e.substr(2*r,2),16);if((p=l)!=p)break;t[i+r]=l}return r}(this,t,e,i);case"utf8":case"utf-8":return a=e,o=i,D(j(t,this.length-a),this,a,o);case"ascii":return r=e,p=i,D(T(t),this,r,p);case"latin1":case"binary":return function(t,e,i,n){return D(T(e),t,i,n)}(this,t,e,i);case"base64":return l=e,c=i,D(R(t),this,l,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s=e,d=i,D(function(t,e){for(var i,n,a=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(i=t.charCodeAt(o))>>8,a.push(i%256),a.push(n);return a}(t,this.length-s),this,s,d);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},p.prototype.slice=function(t,e){var i=this.length;t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,p.prototype),n},p.prototype.readUIntLE=function(t,e,i){t>>>=0,e>>>=0,i||y(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n},p.prototype.readUIntBE=function(t,e,i){t>>>=0,e>>>=0,i||y(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},p.prototype.readUInt8=function(t,e){return t>>>=0,e||y(t,1,this.length),this[t]},p.prototype.readUInt16LE=function(t,e){return t>>>=0,e||y(t,2,this.length),this[t]|this[t+1]<<8},p.prototype.readUInt16BE=function(t,e){return t>>>=0,e||y(t,2,this.length),this[t]<<8|this[t+1]},p.prototype.readUInt32LE=function(t,e){return t>>>=0,e||y(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},p.prototype.readUInt32BE=function(t,e){return t>>>=0,e||y(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},p.prototype.readIntLE=function(t,e,i){t>>>=0,e>>>=0,i||y(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*e)),n},p.prototype.readIntBE=function(t,e,i){t>>>=0,e>>>=0,i||y(t,e,this.length);for(var n=e,a=1,o=this[t+--n];n>0&&(a*=256);)o+=this[t+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*e)),o},p.prototype.readInt8=function(t,e){return(t>>>=0,e||y(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},p.prototype.readInt16LE=function(t,e){t>>>=0,e||y(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?0xffff0000|i:i},p.prototype.readInt16BE=function(t,e){t>>>=0,e||y(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?0xffff0000|i:i},p.prototype.readInt32LE=function(t,e){return t>>>=0,e||y(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},p.prototype.readInt32BE=function(t,e){return t>>>=0,e||y(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},p.prototype.readFloatLE=function(t,e){return t>>>=0,e||y(t,4,this.length),a.read(this,t,!0,23,4)},p.prototype.readFloatBE=function(t,e){return t>>>=0,e||y(t,4,this.length),a.read(this,t,!1,23,4)},p.prototype.readDoubleLE=function(t,e){return t>>>=0,e||y(t,8,this.length),a.read(this,t,!0,52,8)},p.prototype.readDoubleBE=function(t,e){return t>>>=0,e||y(t,8,this.length),a.read(this,t,!1,52,8)},p.prototype.writeUIntLE=function(t,e,i,n){if(t*=1,e>>>=0,i>>>=0,!n){var a=Math.pow(2,8*i)-1;b(this,t,e,i,a,0)}var o=1,r=0;for(this[e]=255&t;++r<i&&(o*=256);)this[e+r]=t/o&255;return e+i},p.prototype.writeUIntBE=function(t,e,i,n){if(t*=1,e>>>=0,i>>>=0,!n){var a=Math.pow(2,8*i)-1;b(this,t,e,i,a,0)}var o=i-1,r=1;for(this[e+o]=255&t;--o>=0&&(r*=256);)this[e+o]=t/r&255;return e+i},p.prototype.writeUInt8=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,1,255,0),this[e]=255&t,e+1},p.prototype.writeUInt16LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},p.prototype.writeUInt16BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},p.prototype.writeUInt32LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},p.prototype.writeUInt32BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},p.prototype.writeIntLE=function(t,e,i,n){if(t*=1,e>>>=0,!n){var a=Math.pow(2,8*i-1);b(this,t,e,i,a-1,-a)}var o=0,r=1,p=0;for(this[e]=255&t;++o<i&&(r*=256);)t<0&&0===p&&0!==this[e+o-1]&&(p=1),this[e+o]=(t/r|0)-p&255;return e+i},p.prototype.writeIntBE=function(t,e,i,n){if(t*=1,e>>>=0,!n){var a=Math.pow(2,8*i-1);b(this,t,e,i,a-1,-a)}var o=i-1,r=1,p=0;for(this[e+o]=255&t;--o>=0&&(r*=256);)t<0&&0===p&&0!==this[e+o+1]&&(p=1),this[e+o]=(t/r|0)-p&255;return e+i},p.prototype.writeInt8=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},p.prototype.writeInt16LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},p.prototype.writeInt16BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},p.prototype.writeInt32LE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},p.prototype.writeInt32BE=function(t,e,i){return t*=1,e>>>=0,i||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},p.prototype.writeFloatLE=function(t,e,i){return k(this,t,e,!0,i)},p.prototype.writeFloatBE=function(t,e,i){return k(this,t,e,!1,i)},p.prototype.writeDoubleLE=function(t,e,i){return E(this,t,e,!0,i)},p.prototype.writeDoubleBE=function(t,e,i){return E(this,t,e,!1,i)},p.prototype.copy=function(t,e,i,n){if(!p.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<i&&(n=i),n===i||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-i&&(n=t.length-e+i);var a=n-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,i,n);else if(this===t&&i<e&&e<n)for(var o=a-1;o>=0;--o)t[o+e]=this[o+i];else Uint8Array.prototype.set.call(t,this.subarray(i,n),e);return a},p.prototype.fill=function(t,e,i,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,i=this.length):"string"==typeof i&&(n=i,i=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!p.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var a,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<i)throw RangeError("Out of range index");if(i<=e)return this;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(a=e;a<i;++a)this[a]=t;else{var r=p.isBuffer(t)?t:p.from(t,n),l=r.length;if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<i-e;++a)this[a+e]=r[a%l]}return this};var A=/[^+/0-9A-Za-z-_]/g;function j(t,e){e=e||1/0;for(var i,n=t.length,a=null,o=[],r=0;r<n;++r){if((i=t.charCodeAt(r))>55295&&i<57344){if(!a){if(i>56319||r+1===n){(e-=3)>-1&&o.push(239,191,189);continue}a=i;continue}if(i<56320){(e-=3)>-1&&o.push(239,191,189),a=i;continue}i=(a-55296<<10|i-56320)+65536}else a&&(e-=3)>-1&&o.push(239,191,189);if(a=null,i<128){if((e-=1)<0)break;o.push(i)}else if(i<2048){if((e-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((e-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function T(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function R(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function D(t,e,i,n){for(var a=0;a<n&&!(a+i>=e.length)&&!(a>=t.length);++a)e[a+i]=t[a];return a}function C(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var z=function(){for(var t="0123456789abcdef",e=Array(256),i=0;i<16;++i)for(var n=16*i,a=0;a<16;++a)e[n+a]=t[i]+t[a];return e}()},783:function(t,e){e.read=function(t,e,i,n,a){var o,r,p=8*a-n-1,l=(1<<p)-1,c=l>>1,s=-7,d=i?a-1:0,u=i?-1:1,f=t[e+d];for(d+=u,o=f&(1<<-s)-1,f>>=-s,s+=p;s>0;o=256*o+t[e+d],d+=u,s-=8);for(r=o&(1<<-s)-1,o>>=-s,s+=n;s>0;r=256*r+t[e+d],d+=u,s-=8);if(0===o)o=1-c;else{if(o===l)return r?NaN:1/0*(f?-1:1);r+=Math.pow(2,n),o-=c}return(f?-1:1)*r*Math.pow(2,o-n)},e.write=function(t,e,i,n,a,o){var r,p,l,c=8*o-a-1,s=(1<<c)-1,d=s>>1,u=5960464477539062e-23*(23===a),f=n?0:o-1,m=n?1:-1,v=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(p=+!!isNaN(e),r=s):(r=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-r))<1&&(r--,l*=2),r+d>=1?e+=u/l:e+=u*Math.pow(2,1-d),e*l>=2&&(r++,l/=2),r+d>=s?(p=0,r=s):r+d>=1?(p=(e*l-1)*Math.pow(2,a),r+=d):(p=e*Math.pow(2,d-1)*Math.pow(2,a),r=0));a>=8;t[i+f]=255&p,f+=m,p/=256,a-=8);for(r=r<<a|p,c+=a;c>0;t[i+f]=255&r,f+=m,r/=256,c-=8);t[i+f-m]|=128*v}}},i={};function n(t){var a=i[t];if(void 0!==a)return a.exports;var o=i[t]={exports:{}},r=!0;try{e[t](o,o.exports,n),r=!1}finally{r&&delete i[t]}return o.exports}n.ab="//",t.exports=n(72)}()},9191:(t,e,i)=>{"use strict";i.r(e),i.d(e,{InferenceSession:()=>S,TRACE:()=>R,TRACE_FUNC_BEGIN:()=>C,TRACE_FUNC_END:()=>z,Tensor:()=>T,env:()=>s,registerBackend:()=>o});let n=new Map,a=[],o=(t,e,i)=>{if(e&&"function"==typeof e.init&&"function"==typeof e.createInferenceSessionHandler){let o=n.get(t);if(void 0===o)n.set(t,{backend:e,priority:i});else if(o.priority>i)return;else if(o.priority===i&&o.backend!==e)throw Error(`cannot register backend "${t}" using priority ${i}`);if(i>=0){let e=a.indexOf(t);-1!==e&&a.splice(e,1);for(let e=0;e<a.length;e++)if(n.get(a[e]).priority<=i)return void a.splice(e,0,t);a.push(t)}return}throw TypeError("not a valid backend")},r=async t=>{let e=n.get(t);if(!e)return"backend not found.";if(e.initialized)return e.backend;{if(e.aborted)return e.error;let i=!!e.initPromise;try{return i||(e.initPromise=e.backend.init(t)),await e.initPromise,e.initialized=!0,e.backend}catch(t){return i||(e.error=`${t}`,e.aborted=!0),e.error}finally{delete e.initPromise}}},p=async t=>{let e,i=t.executionProviders||[],n=i.map(t=>"string"==typeof t?t:t.name),o=0===n.length?a:n,p=[],l=new Set;for(let t of o){let i=await r(t);"string"==typeof i?p.push({name:t,err:i}):(e||(e=i),e===i&&l.add(t))}if(!e)throw Error(`no available backend found. ERR: ${p.map(t=>`[${t.name}] ${t.err}`).join(", ")}`);for(let{name:t,err:e}of p)n.includes(t)&&console.warn(`removing requested execution provider "${t}" from session options because it is not available: ${e}`);let c=i.filter(t=>l.has("string"==typeof t?t:t.name));return[e,new Proxy(t,{get:(t,e)=>"executionProviders"===e?c:Reflect.get(t,e)})]},l="warning",c={wasm:{},webgl:{},webgpu:{},versions:{common:"1.21.0"},set logLevel(value){if(void 0===value)return;if("string"!=typeof value||-1===["verbose","info","warning","error","fatal"].indexOf(value))throw Error(`Unsupported logging level: ${value}`);l=value},get logLevel(){return l}};Object.defineProperty(c,"logLevel",{enumerable:!0});let s=c,d=(t,e)=>{let i="undefined"!=typeof document?document.createElement("canvas"):new OffscreenCanvas(1,1);i.width=t.dims[3],i.height=t.dims[2];let n=i.getContext("2d");if(null!=n){let a,o,r,p;e?.tensorLayout!==void 0&&"NHWC"===e.tensorLayout?(a=t.dims[2],o=t.dims[3]):(a=t.dims[3],o=t.dims[2]);let l=e?.format!==void 0?e.format:"RGB",c=e?.norm;void 0===c||void 0===c.mean?r=[255,255,255,255]:"number"==typeof c.mean?r=[c.mean,c.mean,c.mean,c.mean]:(r=[c.mean[0],c.mean[1],c.mean[2],0],void 0!==c.mean[3]&&(r[3]=c.mean[3])),void 0===c||void 0===c.bias?p=[0,0,0,0]:"number"==typeof c.bias?p=[c.bias,c.bias,c.bias,c.bias]:(p=[c.bias[0],c.bias[1],c.bias[2],0],void 0!==c.bias[3]&&(p[3]=c.bias[3]));let s=o*a,d=0,u=s,f=2*s,m=-1;"RGBA"===l?(d=0,u=s,f=2*s,m=3*s):"RGB"===l?(d=0,u=s,f=2*s):"RBG"===l&&(d=0,f=s,u=2*s);for(let e=0;e<o;e++)for(let i=0;i<a;i++){let a=(t.data[d++]-p[0])*r[0],o=(t.data[u++]-p[1])*r[1];n.fillStyle="rgba("+a+","+o+","+(t.data[f++]-p[2])*r[2]+","+(-1===m?255:(t.data[m++]-p[3])*r[3])+")",n.fillRect(i,e,1,1)}if("toDataURL"in i)return i.toDataURL();throw Error("toDataURL is not supported")}throw Error("Can not access image data")},u=(t,e)=>{let i,n="undefined"!=typeof document?document.createElement("canvas").getContext("2d"):new OffscreenCanvas(1,1).getContext("2d");if(null!=n){let a,o,r,p,l;e?.tensorLayout!==void 0&&"NHWC"===e.tensorLayout?(a=t.dims[2],o=t.dims[1],r=t.dims[3]):(a=t.dims[3],o=t.dims[2],r=t.dims[1]);let c=void 0!==e&&void 0!==e.format?e.format:"RGB",s=e?.norm;void 0===s||void 0===s.mean?p=[255,255,255,255]:"number"==typeof s.mean?p=[s.mean,s.mean,s.mean,s.mean]:(p=[s.mean[0],s.mean[1],s.mean[2],255],void 0!==s.mean[3]&&(p[3]=s.mean[3])),void 0===s||void 0===s.bias?l=[0,0,0,0]:"number"==typeof s.bias?l=[s.bias,s.bias,s.bias,s.bias]:(l=[s.bias[0],s.bias[1],s.bias[2],0],void 0!==s.bias[3]&&(l[3]=s.bias[3]));let d=o*a;if(void 0!==e&&(void 0!==e.format&&4===r&&"RGBA"!==e.format||3===r&&"RGB"!==e.format&&"BGR"!==e.format))throw Error("Tensor format doesn't match input tensor dims");let u=0,f=1,m=2,v=3,h=0,g=d,x=2*d,y=-1;"RGBA"===c?(h=0,g=d,x=2*d,y=3*d):"RGB"===c?(h=0,g=d,x=2*d):"RBG"===c&&(h=0,x=d,g=2*d),i=n.createImageData(a,o);for(let e=0;e<o*a;u+=4,f+=4,m+=4,v+=4,e++)i.data[u]=(t.data[h++]-l[0])*p[0],i.data[f]=(t.data[g++]-l[1])*p[1],i.data[m]=(t.data[x++]-l[2])*p[2],i.data[v]=-1===y?255:(t.data[y++]-l[3])*p[3]}else throw Error("Can not access image data");return i},f=(t,e)=>{let i,n;if(void 0===t)throw Error("Image buffer must be defined");if(void 0===e.height||void 0===e.width)throw Error("Image height and width must be defined");if("NHWC"===e.tensorLayout)throw Error("NHWC Tensor layout is not supported yet");let{height:a,width:o}=e,r=e.norm??{mean:255,bias:0};i="number"==typeof r.mean?[r.mean,r.mean,r.mean,r.mean]:[r.mean[0],r.mean[1],r.mean[2],r.mean[3]??255],n="number"==typeof r.bias?[r.bias,r.bias,r.bias,r.bias]:[r.bias[0],r.bias[1],r.bias[2],r.bias[3]??0];let p=void 0!==e.format?e.format:"RGBA",l=void 0!==e.tensorFormat&&void 0!==e.tensorFormat?e.tensorFormat:"RGB",c=a*o,s=new Float32Array("RGBA"===l?4*c:3*c),d=4,u=0,f=1,m=2,v=3,h=0,g=c,x=2*c,y=-1;"RGB"===p&&(d=3,u=0,f=1,m=2,v=-1),"RGBA"===l?y=3*c:"RBG"===l?(h=0,x=c,g=2*c):"BGR"===l&&(x=0,g=c,h=2*c);for(let e=0;e<c;e++,u+=d,m+=d,f+=d,v+=d)s[h++]=(t[u]+n[0])/i[0],s[g++]=(t[f]+n[1])/i[1],s[x++]=(t[m]+n[2])/i[2],-1!==y&&-1!==v&&(s[y++]=(t[v]+n[3])/i[3]);return"RGBA"===l?new j("float32",s,[1,4,a,o]):new j("float32",s,[1,3,a,o])},m=async(t,e)=>{let i,n="undefined"!=typeof HTMLImageElement&&t instanceof HTMLImageElement,a="undefined"!=typeof ImageData&&t instanceof ImageData,o="undefined"!=typeof ImageBitmap&&t instanceof ImageBitmap,r="string"==typeof t,p=e??{},l=()=>{if("undefined"!=typeof document)return document.createElement("canvas");if("undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(1,1);throw Error("Canvas is not supported")},c=t=>"undefined"!=typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement||t instanceof OffscreenCanvas?t.getContext("2d"):null;if(n){let n=l();n.width=t.width,n.height=t.height;let a=c(n);if(null!=a){let n=t.height,o=t.width;if(void 0!==e&&void 0!==e.resizedHeight&&void 0!==e.resizedWidth&&(n=e.resizedHeight,o=e.resizedWidth),void 0!==e){if(p=e,void 0!==e.tensorFormat)throw Error("Image input config format must be RGBA for HTMLImageElement");p.tensorFormat="RGBA",p.height=n,p.width=o}else p.tensorFormat="RGBA",p.height=n,p.width=o;a.drawImage(t,0,0),i=a.getImageData(0,0,o,n).data}else throw Error("Can not access image data")}else if(a){let n,a;if(void 0!==e&&void 0!==e.resizedWidth&&void 0!==e.resizedHeight?(n=e.resizedHeight,a=e.resizedWidth):(n=t.height,a=t.width),void 0!==e&&(p=e),p.format="RGBA",p.height=n,p.width=a,void 0!==e){let e=l();e.width=a,e.height=n;let o=c(e);if(null!=o)o.putImageData(t,0,0),i=o.getImageData(0,0,a,n).data;else throw Error("Can not access image data")}else i=t.data}else if(o){if(void 0===e)throw Error("Please provide image config with format for Imagebitmap");let n=l();n.width=t.width,n.height=t.height;let a=c(n);if(null!=a){let e=t.height,n=t.width;return a.drawImage(t,0,0,n,e),i=a.getImageData(0,0,n,e).data,p.height=e,p.width=n,f(i,p)}throw Error("Can not access image data")}else if(r)return new Promise((e,i)=>{let n=l(),a=c(n);if(!t||!a)return i();let o=new Image;o.crossOrigin="Anonymous",o.src=t,o.onload=()=>{n.width=o.width,n.height=o.height,a.drawImage(o,0,0,n.width,n.height);let t=a.getImageData(0,0,n.width,n.height);p.height=n.height,p.width=n.width,e(f(t.data,p))}});else throw Error("Input data provided is not supported - aborted tensor creation");if(void 0!==i)return f(i,p);throw Error("Input data provided is not supported - aborted tensor creation")},v=(t,e)=>{let{width:i,height:n,download:a,dispose:o}=e;return new j({location:"texture",type:"float32",texture:t,dims:[1,n,i,4],download:a,dispose:o})},h=(t,e)=>{let{dataType:i,dims:n,download:a,dispose:o}=e;return new j({location:"gpu-buffer",type:i??"float32",gpuBuffer:t,dims:n,download:a,dispose:o})},g=(t,e)=>{let{dataType:i,dims:n,download:a,dispose:o}=e;return new j({location:"ml-tensor",type:i??"float32",mlTensor:t,dims:n,download:a,dispose:o})},x=(t,e,i)=>new j({location:"cpu-pinned",type:t,data:e,dims:i??[e.length]}),y=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array],["int4",Uint8Array],["uint4",Uint8Array]]),b=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]),w=!1,k=()=>{if(!w){w=!0;let t="undefined"!=typeof BigInt64Array&&BigInt64Array.from,e="undefined"!=typeof BigUint64Array&&BigUint64Array.from,i=globalThis.Float16Array,n=void 0!==i&&i.from;t&&(y.set("int64",BigInt64Array),b.set(BigInt64Array,"int64")),e&&(y.set("uint64",BigUint64Array),b.set(BigUint64Array,"uint64")),n?(y.set("float16",i),b.set(i,"float16")):y.set("float16",Uint16Array)}},E=t=>{let e=1;for(let i=0;i<t.length;i++){let n=t[i];if("number"!=typeof n||!Number.isSafeInteger(n))throw TypeError(`dims[${i}] must be an integer, got: ${n}`);if(n<0)throw RangeError(`dims[${i}] must be a non-negative integer, got: ${n}`);e*=n}return e},A=(t,e)=>{switch(t.location){case"cpu":return new j(t.type,t.data,e);case"cpu-pinned":return new j({location:"cpu-pinned",data:t.data,type:t.type,dims:e});case"texture":return new j({location:"texture",texture:t.texture,type:t.type,dims:e});case"gpu-buffer":return new j({location:"gpu-buffer",gpuBuffer:t.gpuBuffer,type:t.type,dims:e});case"ml-tensor":return new j({location:"ml-tensor",mlTensor:t.mlTensor,type:t.type,dims:e});default:throw Error(`tensorReshape: tensor location ${t.location} is not supported`)}};class j{constructor(t,e,i){let n,a;if(k(),"object"==typeof t&&"location"in t)switch(this.dataLocation=t.location,n=t.type,a=t.dims,t.location){case"cpu-pinned":{let e=y.get(n);if(!e)throw TypeError(`unsupported type "${n}" to create tensor from pinned buffer`);if(!(t.data instanceof e))throw TypeError(`buffer should be of type ${e.name}`);this.cpuData=t.data;break}case"texture":if("float32"!==n)throw TypeError(`unsupported type "${n}" to create tensor from texture`);this.gpuTextureData=t.texture,this.downloader=t.download,this.disposer=t.dispose;break;case"gpu-buffer":if("float32"!==n&&"float16"!==n&&"int32"!==n&&"int64"!==n&&"uint32"!==n&&"uint8"!==n&&"bool"!==n&&"uint4"!==n&&"int4"!==n)throw TypeError(`unsupported type "${n}" to create tensor from gpu buffer`);this.gpuBufferData=t.gpuBuffer,this.downloader=t.download,this.disposer=t.dispose;break;case"ml-tensor":if("float32"!==n&&"float16"!==n&&"int32"!==n&&"int64"!==n&&"uint32"!==n&&"uint64"!==n&&"int8"!==n&&"uint8"!==n&&"bool"!==n&&"uint4"!==n&&"int4"!==n)throw TypeError(`unsupported type "${n}" to create tensor from MLTensor`);this.mlTensorData=t.mlTensor,this.downloader=t.download,this.disposer=t.dispose;break;default:throw Error(`Tensor constructor: unsupported location '${this.dataLocation}'`)}else{let o,r;if("string"==typeof t)if(n=t,r=i,"string"===t){if(!Array.isArray(e))throw TypeError("A string tensor's data must be a string array.");o=e}else{let i=y.get(t);if(void 0===i)throw TypeError(`Unsupported tensor type: ${t}.`);if(Array.isArray(e))if("float16"===t&&i===Uint16Array||"uint4"===t||"int4"===t)throw TypeError(`Creating a ${t} tensor from number array is not supported. Please use ${i.name} as data.`);else o="uint64"===t||"int64"===t?i.from(e,BigInt):i.from(e);else if(e instanceof i)o=e;else if(e instanceof Uint8ClampedArray)if("uint8"===t)o=Uint8Array.from(e);else throw TypeError("A Uint8ClampedArray tensor's data must be type of uint8");else if("float16"===t&&e instanceof Uint16Array&&i!==Uint16Array)o=new globalThis.Float16Array(e.buffer,e.byteOffset,e.length);else throw TypeError(`A ${n} tensor's data must be type of ${i}`)}else if(r=e,Array.isArray(t)){if(0===t.length)throw TypeError("Tensor type cannot be inferred from an empty array.");let e=typeof t[0];if("string"===e)n="string",o=t;else if("boolean"===e)n="bool",o=Uint8Array.from(t);else throw TypeError(`Invalid element type of data array: ${e}.`)}else if(t instanceof Uint8ClampedArray)n="uint8",o=Uint8Array.from(t);else{let e=b.get(t.constructor);if(void 0===e)throw TypeError(`Unsupported type for tensor data: ${t.constructor}.`);n=e,o=t}if(void 0===r)r=[o.length];else if(!Array.isArray(r))throw TypeError("A tensor's dims must be a number array");a=r,this.cpuData=o,this.dataLocation="cpu"}let o=E(a);if(this.cpuData&&o!==this.cpuData.length)if(("uint4"===n||"int4"===n)&&Math.ceil(o/2)===this.cpuData.length);else throw Error(`Tensor's size(${o}) does not match data length(${this.cpuData.length}).`);this.type=n,this.dims=a,this.size=o}static async fromImage(t,e){return m(t,e)}static fromTexture(t,e){return v(t,e)}static fromGpuBuffer(t,e){return h(t,e)}static fromMLTensor(t,e){return g(t,e)}static fromPinnedBuffer(t,e,i){return x(t,e,i)}toDataURL(t){return d(this,t)}toImageData(t){return u(this,t)}get data(){if(this.ensureValid(),!this.cpuData)throw Error("The data is not on CPU. Use `getData()` to download GPU data to CPU, or use `texture` or `gpuBuffer` property to access the GPU data directly.");return this.cpuData}get location(){return this.dataLocation}get texture(){if(this.ensureValid(),!this.gpuTextureData)throw Error("The data is not stored as a WebGL texture.");return this.gpuTextureData}get gpuBuffer(){if(this.ensureValid(),!this.gpuBufferData)throw Error("The data is not stored as a WebGPU buffer.");return this.gpuBufferData}get mlTensor(){if(this.ensureValid(),!this.mlTensorData)throw Error("The data is not stored as a WebNN MLTensor.");return this.mlTensorData}async getData(t){switch(this.ensureValid(),this.dataLocation){case"cpu":case"cpu-pinned":return this.data;case"texture":case"gpu-buffer":case"ml-tensor":if(!this.downloader)throw Error("The current tensor is not created with a specified data downloader.");if(this.isDownloading)throw Error("The current tensor is being downloaded.");try{this.isDownloading=!0;let e=await this.downloader();return this.downloader=void 0,this.dataLocation="cpu",this.cpuData=e,t&&this.disposer&&(this.disposer(),this.disposer=void 0),e}finally{this.isDownloading=!1}default:throw Error(`cannot get data from location: ${this.dataLocation}`)}}dispose(){if(this.isDownloading)throw Error("The current tensor is being downloaded.");this.disposer&&(this.disposer(),this.disposer=void 0),this.cpuData=void 0,this.gpuTextureData=void 0,this.gpuBufferData=void 0,this.mlTensorData=void 0,this.downloader=void 0,this.isDownloading=void 0,this.dataLocation="none"}ensureValid(){if("none"===this.dataLocation)throw Error("The tensor is disposed.")}reshape(t){if(this.ensureValid(),this.downloader||this.disposer)throw Error("Cannot reshape a tensor that owns GPU resource.");return A(this,t)}}let T=j,R=(t,e)=>{(void 0===c.trace?c.wasm.trace:c.trace)&&console.timeStamp(`${t}::ORT::${e}`)},D=(t,e)=>{let i=Error().stack?.split(/\r\n|\r|\n/g)||[],n=!1;for(let a=0;a<i.length;a++){if(n&&!i[a].includes("TRACE_FUNC")){let n=`FUNC_${t}::${i[a].trim().split(" ")[1]}`;e&&(n+=`::${e}`),R("CPU",n);return}i[a].includes("TRACE_FUNC")&&(n=!0)}},C=t=>{(void 0===c.trace?c.wasm.trace:c.trace)&&D("BEGIN",t)},z=t=>{(void 0===c.trace?c.wasm.trace:c.trace)&&D("END",t)};class O{constructor(t){this.handler=t}async run(t,e,i){C();let n={},a={};if("object"!=typeof t||null===t||t instanceof T||Array.isArray(t))throw TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let o=!0;if("object"==typeof e){if(null===e)throw TypeError("Unexpected argument[1]: cannot be null.");if(e instanceof T)throw TypeError("'fetches' cannot be a Tensor");if(Array.isArray(e)){if(0===e.length)throw TypeError("'fetches' cannot be an empty array.");for(let t of(o=!1,e)){if("string"!=typeof t)throw TypeError("'fetches' must be a string array or an object.");if(-1===this.outputNames.indexOf(t))throw RangeError(`'fetches' contains invalid output name: ${t}.`);n[t]=null}if("object"==typeof i&&null!==i)a=i;else if(void 0!==i)throw TypeError("'options' must be an object.")}else{let t=!1,r=Object.getOwnPropertyNames(e);for(let i of this.outputNames)if(-1!==r.indexOf(i)){let a=e[i];(null===a||a instanceof T)&&(t=!0,o=!1,n[i]=a)}if(t){if("object"==typeof i&&null!==i)a=i;else if(void 0!==i)throw TypeError("'options' must be an object.")}else a=e}}else if(void 0!==e)throw TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(let e of this.inputNames)if(void 0===t[e])throw Error(`input '${e}' is missing in 'feeds'.`);if(o)for(let t of this.outputNames)n[t]=null;let r=await this.handler.run(t,n,a),p={};for(let t in r)if(Object.hasOwnProperty.call(r,t)){let e=r[t];e instanceof T?p[t]=e:p[t]=new T(e.type,e.data,e.dims)}return z(),p}async release(){return this.handler.dispose()}static async create(t,e,i,n){let a;C();let o={};if("string"==typeof t){if(a=t,"object"==typeof e&&null!==e)o=e;else if(void 0!==e)throw TypeError("'options' must be an object.")}else if(t instanceof Uint8Array){if(a=t,"object"==typeof e&&null!==e)o=e;else if(void 0!==e)throw TypeError("'options' must be an object.")}else if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer){let r=0,p=t.byteLength;if("object"==typeof e&&null!==e)o=e;else if("number"==typeof e){if(!Number.isSafeInteger(r=e))throw RangeError("'byteOffset' must be an integer.");if(r<0||r>=t.byteLength)throw RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(p=t.byteLength-r,"number"==typeof i){if(!Number.isSafeInteger(p=i))throw RangeError("'byteLength' must be an integer.");if(p<=0||r+p>t.byteLength)throw RangeError(`'byteLength' is out of range (0, ${t.byteLength-r}].`);if("object"==typeof n&&null!==n)o=n;else if(void 0!==n)throw TypeError("'options' must be an object.")}else if(void 0!==i)throw TypeError("'byteLength' must be a number.")}else if(void 0!==e)throw TypeError("'options' must be an object.");a=new Uint8Array(t,r,p)}else throw TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");let[r,l]=await p(o),c=await r.createInferenceSessionHandler(a,l);return z(),new O(c)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}}let S=O},9465:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(6108).A)("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])}}]);